Master the MySQL Query Rewrite Plugin: A Complete Guide