SELECT SQL_CALC_FOUND_ROWS ma_posts.ID
FROM ma_posts LEFT JOIN ma_term_relationships ON (ma_posts.ID = ma_term_relationships.object_id)
WHERE 1=1 AND (
ma_term_relationships.term_taxonomy_id IN (76)
) AND ma_posts.post_type = 'post' AND ((ma_posts.post_status = 'publish'))
GROUP BY ma_posts.ID
ORDER BY ma_posts.post_date DESC
LIMIT 0, 12