SELECT SQL_CALC_FOUND_ROWS `wp_comments` . `comment_ID` FROM `wp_comments` WHERE ( `comment_approved` = ? ) AND `comment_post_ID` IN (?) AND `comment_type` IN (...) ORDER BY `wp_comments` . `comment_date_gmt` DESC , `wp_comments` . `comment_ID` DESC LIMIT ?, ... 