SELECT SQL_CALC_FOUND_ROWS wp_posts.ID
FROM wp_posts
WHERE 1=1 AND (
wp_posts.ID NOT IN (
SELECT object_id
FROM wp_term_relationships
WHERE term_taxonomy_id IN (94)
)
) AND ((wp_posts.post_type = 'product' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled' OR wp_posts.post_status = 'booked_wc_awaiting')))
GROUP BY wp_posts.ID
ORDER BY wp_posts.menu_order, wp_posts.menu_order ASC, wp_posts.post_title ASC
LIMIT 9, 9