[In progress] Search for queries in cache.