SELECT SQL_CALC_FOUND_ROWS dee_2_posts.ID FROM dee_2_posts WHERE 1=1 AND ( 0 = 1 ) AND dee_2_posts.post_type = 'event' GROUP BY dee_2_posts.ID ORDER BY dee_2_posts.post_date DESC LIMIT 0, 10