Explain how you would optimize a slow-running SQL query that aggregates millions of daily telemetry data points at May Mobility.