We should have a point query too: SELECT a_id FROM TABLE_WITH_SALTING WHERE a_id = 1