Performs a quick and highly efficient scroll/scan query to get the list of primary keys that
satisfy the given condition. If condition is a list of primary keys
(e.g.: ['_id' => ['1', '2', '3']]), the query is not performed for performance considerations.