SELECT SQL_CALC_FOUND_ROWS wp1_26_posts.ID FROM wp1_26_posts LEFT JOIN wp1_26_term_relationships ON (wp1_26_posts.ID = wp1_26_term_relationships.object_id) WHERE 1=1 AND (
wp1_26_term_relationships.term_taxonomy_id IN (2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,21,23,24,26,28,29,30)
) AND wp1_26_posts.post_type = 'post' AND (wp1_26_posts.post_status = 'publish' OR wp1_26_posts.post_status = 'acf-disabled') GROUP BY wp1_26_posts.ID ORDER BY wp1_26_posts.post_date DESC LIMIT 0, 10