There is nothing wrong with your query, this is normal for WordPress.
What is typically more important is the “total query time”. A well written theme with over 100 queries will often ring in under 20 milliseconds, that is 4-20 times faster than the blink of an eye. With a caching plugin you can can reduce this a great deal further.
If you really want to optimize I suggest you turn on debugging (with debug bar) and check each SQL query to see if there are any loose ends you can remove, especially of you have a lot of sidebars/widgets and multiple loops.
Related Posts:
- How I can change the condition or compare operator for WP_Query in pre_get_posts
- Slow query when selecting with large meta query or post__in
- When should you use WP_Query vs query_posts() vs get_posts()?
- When to use WP_query(), query_posts() and pre_get_posts
- Return only Count from a wp_query request?
- Use REGEXP in WP_Query meta_query key
- How to use the_posts_navigation for wp_query and get_posts?
- WP_Query vs get_posts
- Order by DESC, ASC in custom WP_Query
- How to prevent execution of default query, while preserving ability to use WP_Query in template?
- meta_query: using BETWEEN with floats and/or casting to DECIMAL
- Get posts from Network (Multisite)
- How to order by post_status?
- Using get_posts vs. WP_Query
- Delete all posts from WordPress except latest X posts
- Sanitation needed for WP_Query or get_posts calls?
- Differences Between WP_Query() and get_posts() for Querying Posts?
- Get Recent Posts by Date in Multisite
- get_posts with multiple categories
- get_template_part in for loop
- Use of caller_ get_ posts
- How-to exclude terms from the main query the most performant way?
- Get posts by menu ID
- Is it possible to select against a post’s parent’s fields with WP_Query?
- Query all posts where meta value is empty
- Slow SQL_CALC_FOUND_ROWS Query
- Get posts by meta data OR title
- Get_post() with meta_key when compare is a date
- get_posts not finding argument: post_name
- Meta Query with date and time on the same Day before given time
- Get posts with condition on comment meta value
- SQL query equivalent to WP User Query
- Function to check if author has posted within the last x days
- What’s wrong with this WP query?
- Stop all SQL_CALC_FOUND_ROWS wordpress queries
- How to count post meta key values for all posts in database
- Use post__in and post__not_in together?
- Group posts by meta_key
- What should I use, get_posts or wp_query for less CPU load?
- Different Results with query(‘s=computer’) vs get_posts(‘s=computer’)?
- How to get post from all Blog Multisite to the Main Site?
- How to search for posts IN OR title OR content OR author?
- WP_Query hit max joins… How else can I build a search function that uses custom fields?
- WP Query post meta value
- Get all posts without tags
- Would this post meta be better added to the post table rather than post_meta table
- get_posts() seemingly ignoring post_type
- Can not switch the queried post in pre_get_posts hook
- How to find out what “Blog pages show at most” is set to [duplicate]
- Count posts returned by get_posts in external PHP script
- Order By Multiple Meta Fields
- meta_query on a date range using an array of values
- Trying to check and see if a post has a featured image outside of the main loop
- How to speed up wp_query, took more 5s to run against 100k posts
- WP_query category__in not working, only pulls from first category
- SQL User Query by Multiple Roles using PHP
- SELECT * FROM $wpdb->posts WHERE ID > 160
- WordPress Query is taking more then 20 second and stuck on creating index
- Get the Plugin Which Triggered a MySql Query in WordPress?
- Adding multiple post queries with parent and children to page – Best Way
- How do you Query posts with nothing in common?
- WP_Query, tax_query and term_meta: How to?
- Mysql query LIKE not working
- How to get posts on a specific date – WP Query
- Get posts for last working week in WP_Query
- Using WP_Query and WP_Meta_Query Outside of WordPress
- How to find exact match for search term in WP_Query? What is the additional string added in LIKE query in WP_Query?
- Improve wp query perfomance on large db
- Order by custom table and multiplication
- get_posts – get all posts by array of author
- Create a sitemap without a plugin – get parent pages only?
- Creating a custom search for a specific post type
- Single meta_query query using OR instead of AND in request’s WHERE statement
- get_posts – find out if querystring was crap and fallback is used
- Get posts for which a custom field is not present, with get_posts
- why update and delete query not worked in custom table?
- Creating query to show which editor (classic or block) was last used to edit a post/page
- get_posts() not working with multiple statuses
- How to use MySQL’s MATCH AGAINST in WP_Query?
- Return only post(s) which have post_excerpt
- Slow WP_Query for custom post type
- Performance when getting post meta for post retrieved by meta value
- Return Taxonomy/Term Information with Posts (WP_Query/get_posts)
- Hide Administrators From User List except current user (administrator)
- Add “Category” to Mysql Query
- Mysql query and order meta value
- WP_Query() and get_posts() can’t handle over a thousand posts?
- Using hook to use DISTINCT in a wp_query
- pagination with ‘no_found_rows’ => true,
- add active class based on permalink and url
- Weird orderby => post__in issue
- Order by summing multiple values
- How to implement a new row_count method in WordPress?
- get_posts() and WP_query limits ‘AND’ conditions to a maximum of 6 for meta value queries in WordPress
- Wp query show post by author name or post title or post content
- Why does get_posts only show results for Admins or logged-out users?
- Conflict with get_posts and the_content
- WP_Query post_parent parameter always returns children of current page
- get_post_meta slowing down my page load (in a plugin)
- Query most popular terms by taxonomy over 2 week period