Updated query for faster execution.