STEP 10 OF 10 · FIX THE QUERY
Fix the server time too
The last big slice is the query. Adding an index on the filtered column turns a scan into a lookup, about 15 ms instead of 400.
With the edge and the index together, a first visit lands around 355 ms and a repeat click on the open connection around 255 ms. Either change alone still leaves you above 700 ms.
Why it matters. Network fixes and server fixes stack. The breakdown tells you to do both, and in which order, instead of debating one.