SELECT `m` . `comment_id` FROM `wp_commentmeta` AS `m` INNER JOIN `wp_comments` AS `c` USING ( `comment_id` ) WHERE `m` . `meta_key` = ? AND DATE_SUB ( NOW ( ) , INTERVAL ? SQL_TSI_DAY ) > `c` . `comment_date_gmt` LIMIT ? 