add support for diskdb queries with multiple keys

* the changes here honors all the keys in the given query object for filtering