pub async fn validate_api_key_by_hash( pool: &PgPool, key_hash: &str, ) -> ProxyResult<Option<ApiKeyRow>>
Look up an API key by its hash, excluding expired keys.