PAUL M. JONES
Explore programming books/courses by Paul M. Jones
Learn what the N+1 problem is, why it occurs, how to diagnose and discover it in your application, and how to solve it using plain old PHP (no ORMs needed!).
Get your code under control in a series of small, specific steps.