How do you optimize a query that is running slowly across a massive dataset of patient claims at Komodo Health?