WordPress.DB.SlowDBQuery.slow_db_query_meta_query

slow db query meta query

A query pattern is likely to be slow on larger WordPress sites.

medium weight

Why It Shows Up

The scan found query arguments such as broad meta queries, tax queries, or unindexed lookups that commonly become expensive as content grows.

Why It Matters

A query that feels fine on a small test site can become a production bottleneck on large stores, membership sites, or publishers.

How to Fix

  • Avoid broad `meta_query`, `tax_query`, and unindexed searches on front-end requests when possible.
  • Cache expensive results with transients, object cache, or precomputed data.
  • Add narrower constraints, pagination, and indexes when custom tables are appropriate.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#1051MooWoodle – WordPress Moodle LMS Integration, Sell Moodle Courses via WooCommerce631045800No Caching
#1052Custom Fields Account Registration For Woocommerce6440700Missing nonce verification
#1053CV Demo Importer642195400Non-prefixed global variable
#1054WP Term Order642266k+Nonce verification recommended
#1055WPC Shop as a Customer for WooCommerce64538400Request data is not unslashed
#1056AI Product Gallery Slider for WooCommerce, Slider, Zoom, Video & Variation Images – WPBean65264162k+Text Domain Mismatch
#1057AC Advanced Flamingo Settings66632700Nonce verification recommended
#1058FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration6626306k+Missing direct file access protection
#1059Product Size Chart For WooCommerce669226k+Non-prefixed hook name
#1060Smart Related Products – AI-Inspired Recommendations for WooCommerce6713151k+Output is not escaped
#1061Kraken.io Image Optimizer – Compress, Convert to WebP & AVIF, Resize & Bulk Optimize67293809k+Text Domain Mismatch
#1062Recurio – Ultimate Subscription for WooCommerce673111k+Direct Query
#1063WPC Show Single Variations for WooCommerce675311k+Nonce verification recommended
#1064Envíos Coordinadora Woocommerce (Oficial) – WordPress plugin681230600Missing Arg Domain
#1065SKT Page Builder6815492k+Missing nonce verification
#1066Contact Form 769563910m+Missing direct file access protection
#1067Custom Field For WP Job Manager691654900Non-prefixed global variable
#1068GZSEO69366400Direct Query
#1069Easy Hotel – Powerful Hotel Booking7041,900800Non-prefixed global variable
#1070Free Gift Product For WooCommerce70977800Non-prefixed global variable
#1071Upsell Funnel Builder for WooCommerce – Create Upsells, Cross-Sells, Order Bumps, Frequently Bought, and Popups.7031,4463k+Non-prefixed global variable
#1072WooCommerce Shipping714870k+Direct Query
#1073Amazing Affiliates – Toolkit for Amazon Associates with Amazon Product Blocks and Amazon PAAPI5 / Creators API integration723650600Non-prefixed global variable
#1074Waymark721632900Missing direct file access protection
#1075OpenID Connect Generic Client7395910k+Non-prefixed hook name
#1076Restaurant Food Menu by WP Darko – Drag & Drop Restaurant Menu Builder for WordPress73168400Non-prefixed global variable
#1077EmailKit – Email Customizer for WooCommerce & WP74178270k+slow db query meta query
#1078Post My CF7 Form74211682k+Non-prefixed global variable
#1079Product Layouts for WooCommerce745751k+Direct Query
#1080Sublium Subscriptions – Subscriptions for WooCommerce – Recurring Payments, Subscription Plans & Installments743522400wp function not compatible with requires wp
#1081Zion Builder – Website Builder for Speed & Creativity744291k+Non-prefixed hook name
#1082WPSSO WP Sitemaps XML with News, Image, and Video Sitemap756024400Missing Translators Comment
#1083Aruba Fatturazione Elettronica76129700Missing nonce verification
#1084Disable Lazy Load7686400Non-prefixed constant
#1085StoreAgent – WooCommerce AI Chatbot & AI Content Tools76202400Non-prefixed global variable
#1086WEN Featured Image761183k+Input is not validated
#1087Custom Fonts – Host Your Fonts Locally771420400k+Request data is not unslashed
#1088Index WP Users For Speed7710351k+Non-prefixed global variable
#1089Internet Archive Wayback Machine Link Fixer772221k+Database parameter is not escaped
#1090wpsection771315543k+Non-prefixed global variable
#1091X-Currency – The Ultimate WooCommerce currency switcher for a smoother shopping experience7717771k+Non-prefixed global variable
#1092AWP Classifieds781193k+Output is not escaped
#1093Image Alt Text785199k+Nonce verification recommended
#1094Auto Featured Image (Auto Post Thumbnail)7953050k+Non-prefixed hook name
#1095Bitly URL Shortener796522600Text Domain Mismatch
#1096Related Products Manager for WooCommerce799431k+Non-prefixed global variable
#1097WP Last Modified Info79453240k+Short PHP open tag found
#1098ShopEngine Gutenberg WooCommerce Builder Blocks Addon – All in One WooCommerce Solution804247353k+Non-prefixed global variable
#1099Bricksable for Bricks Builder8017610k+Post Not In exclude
#1100Media Library File Size803156k+Nonce verification recommended