We usually make small iterative improvements in performance. However, on rare
occasions, an opportunity arises to make an improvement of five orders of
magnitude by changing a single line!
After learning about a slow query that was hitting our statement timeout from
one of our Site Reliability Engineers, I reformatted