SELECT SQL_CALC_FOUND_ROWS wp1_18_posts.ID FROM wp1_18_posts LEFT JOIN wp1_18_term_relationships ON (wp1_18_posts.ID = wp1_18_term_relationships.object_id) WHERE 1=1 AND ( wp1_18_term_relationships.term_taxonomy_id IN (7) ) AND wp1_18_posts.post_type = 'post' AND (wp1_18_posts.post_status = 'publish' OR wp1_18_posts.post_status = 'acf-disabled') GROUP BY wp1_18_posts.ID ORDER BY wp1_18_posts.post_date DESC LIMIT 0, 10