WordPress.DB.SlowDBQuery.slow_db_query_meta_key

slow db query meta key

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
#801Getty Images5911462k+Missing nonce verification
#802Ultimate Gift Cards for WooCommerce5934487k+Non-prefixed global variable
#803Genesis Featured Widget Amplified60126122k+Text Domain Mismatch
#804Stream60249980k+Direct Query
#805WoowGallery60151781k+Non-prefixed global variable
#806GetPaid Stripe Payments61206442k+Text Domain Mismatch
#807Team Showcase6111251k+slow db query meta key
#808More Sorting Options for WooCommerce6127173k+Output is not escaped
#809Carousel Slider627130k+Non-prefixed global variable
#810cbnet Multi Author Comment Notification631871k+Output is not escaped
#811Essential Addons for Elementor – Popular Elementor Templates & Widgets63781852m+wp function not compatible with requires wp
#812Simple Membership After Login Redirection6342410k+Missing nonce verification
#813JTL-Connector for WooCommerce6471661k+Direct Query
#814Creta Testimonial Showcase6528413k+Non-prefixed global variable
#815VK Link Target Controller65131030k+Output is not escaped
#816WP SEO HTML Sitemap6522156k+Output is not escaped
#817Easy PHP Settings6634482k+Missing Translators Comment
#818Flexible Product Fields (WooCommerce Product Addons) – WooCommerce Product Page Editor66599810k+Non-prefixed global variable
#819Safe Redirect Manager6696040k+Non-prefixed hook name
#820Smart Related Products – AI-Inspired Recommendations for WooCommerce6713151k+Output is not escaped
#821Newspack Newsletters6754361k+Request data is not unslashed
#822Product Specifications for Woocommerce6712801k+Non-prefixed global variable
#823Sortable Word Count Reloaded681862k+Output is not escaped
#824WP User Avatars6852020k+Input is not sanitized
#825Ambrosite Next/Previous Post Link Plus6912245k+Interpolated SQL is not prepared
#826Media File Sizes721451k+Output is not escaped
#827Simple Local Avatars721416100k+Non-prefixed constant
#828Markup Markdown74181282k+Non-prefixed global variable
#829Product Layouts for WooCommerce745751k+Direct Query
#830Zion Builder – Website Builder for Speed & Creativity744291k+Non-prefixed hook name
#831Temporary Login7532540k+Nonce verification recommended
#832Extra Product Sorting Options for WooCommerce75101610k+Text Domain Mismatch
#833YITH Slider for page builders7513221k+Nonce verification recommended
#834FileBird Document Library7623135k+Text Domain Mismatch
#835Rearrange Products for WooCommerce7612220k+Input is not sanitized
#836Siteready Coming Soon Under Construction766303k+Non-prefixed global variable
#837Ecomail777131k+Non-prefixed global variable
#838GDPR773912110k+Non-prefixed global variable
#839Internet Archive Wayback Machine Link Fixer772221k+Database parameter is not escaped
#840wpsection771315543k+Non-prefixed global variable
#841AWP Classifieds781193k+Output is not escaped
#842Boxzilla – WordPress Popup Builder7946420k+Non-prefixed global variable
#843Related Products Manager for WooCommerce799431k+Non-prefixed global variable
#844Antispam Bee80438700k+Nonce verification recommended
#845ShopEngine Gutenberg WooCommerce Builder Blocks Addon – All in One WooCommerce Solution804247353k+Non-prefixed global variable
#846Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce80944580k+Non-prefixed hook name
#847AI81117920k+Non-prefixed global variable
#848Joinchat – Enhanced "click to chat"811832700k+wp function not compatible with requires wp
#849ElasticPress81136558k+Non-prefixed hook name
#850Gutenverse Companion8116298k+Nonce verification recommended