The slow query is sometimes only the symptom.
We look at the full request: query count, execution plans, broad model hydration, repeated calculations, database views, cache misses, external calls, serialization and work that should have happened asynchronously.
- Request and endpoint timing
- MySQL EXPLAIN / EXPLAIN ANALYZE
- Eloquent relationship and N+1 review
- View-heavy and aggregate retrieval paths
- Indexes, selectivity and row multiplication
- Cache and queue placement
- Before/after verification using the same workload