2026-04-25 18:31:52.602303+08
Refactor this complex ActiveRecord query to use "joins" instead of multiple "where" clauses to improve efficiency. Explain the difference between "includes", "joins", and "eager_load" in this specific scenario.