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