Support queries with multiple comparisons per key

Used by console to filter by a bounded timestamp range.