pub fn hash_sql(sql: &str) -> u64
Hash SQL text for cache lookup.
Uses a stable hash algorithm to ensure consistent lookups.