Lookup keys in set of records (binary search)