Translate MongoDB query to Arel AST