Speed up range overlap queries with indexing