How would you optimize a slow-running query in a healthcare or benefits data environment like Texas Health and Human Services Commission?