use curse queries for single equality queries.