SOQL Selectivity: Avoiding Full Table Scans on Million-Row Objects
A query that runs in 200ms against 100K records can run for 30 seconds against 5M records. The difference is selectivity. The fix is index design, query shape, and a few patterns that keep Apex fast as the org grows.