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()?
- Use REGEXP in WP_Query meta_query key
- How to use the_posts_navigation for wp_query and get_posts?
- Order by DESC, ASC in custom WP_Query
- How to order by post_status?
- Using get_posts vs. WP_Query
- Delete all posts from WordPress except latest X posts
- Differences Between WP_Query() and get_posts() for Querying Posts?
- get_posts with multiple categories
- get_template_part in for loop
- Is it possible to select against a post’s parent’s fields with WP_Query?
- Slow SQL_CALC_FOUND_ROWS Query
- Get posts by meta data OR title
- 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?
- Use post__in and post__not_in together?
- Group posts by meta_key
- Different Results with query(‘s=computer’) vs get_posts(‘s=computer’)?
- How to search for posts IN OR title OR content OR author?
- 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
- How to find out what “Blog pages show at most” is set to [duplicate]
- 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
- WP_query category__in not working, only pulls from first category
- SQL User Query by Multiple Roles using PHP
- WordPress Query is taking more then 20 second and stuck on creating index
- Get the Plugin Which Triggered a MySql Query in WordPress?
- How do you Query posts with nothing in common?
- Mysql query LIKE not working
- Get posts for last working week in WP_Query
- Order by custom table and multiplication
- Single meta_query query using OR instead of AND in request’s WHERE statement
- Get posts for which a custom field is not present, with get_posts
- why update and delete query not worked in custom table?
- How to use MySQL’s MATCH AGAINST in WP_Query?
- Slow WP_Query for custom post type
- 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
- Using hook to use DISTINCT in a wp_query
- pagination with ‘no_found_rows’ => true,
- add active class based on permalink and url
- Order by summing multiple values
- 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?
- get_post_meta slowing down my page load (in a plugin)
- How to count posts with specific arguments
- Check return value of get_posts
- Best choice for multiple loop in page?
- Get all posts which was posted on X Days WordPress
- Query post with meta value in set of values
- Meta Query doesn’t works as espected
- meta_query: check if number exists
- get_posts always returning the same number of posts = 5
- complex get_posts() query to select child pages
- Update query for wp_posts and wp_postmeta
- get_posts custom field
- How to apply a function to a metadata value before launch a WP Query?
- Posts query according to meta box date
- Woocommerce: order posts by meta key
- WP_Query with page_ids in arguments without a result
- How to access $wp_query object from array of posts given by get_posts?
- get_posts query matches too many results
- Query multiple meta key values for template
- How to query for a page, get data, then query for child pages of that page
- Magazine style frontpage with multiple categories/loops and no duplicate posts
- How to add date_query to meta_query array
- get_posts query is taking about 40 seconds to execute
- Why last row deleted when refresh page
- Related posts queries
- INNER JOIN custom tables – SQL Query
- use mysql variable in a $wpdb->query to reindex a column?
- One of two similar WP Query is very slow
- Fix wp_term_relationships slow query in get_posts
- Query postmeta based on meta_value, return array of post_id
- Multiple wpostmeta.meta_key
- I cannot get tax_query in get_posts() to work with custom taxonomy
- Getting the last X posts, but in ascending order of time
- how to avoid reloading/refresh the page when displaying the post of wp_list_categories
- Display posts from catagories
- Get a list of the last posts grouped by author and filtered by category
- When should you use WP_Query vs query_posts() vs get_posts()?
- How to count post meta key values for all posts in database
- Retrieve posts in custom post type and specific taxonomies
- Parsing External Table Arguments
- How to add a custom field and incrementing value for all the published posts
- tax_query not working properly with get_posts
- How to replecate the _fields parameter in custom REST api endpoint
- WordPress extremely slow when using get_posts with multiple meta_query relations
- SQL query into to WP query
- Sort by multiple columns using get_posts
- How to cache wordpress get_posts query using transients?