SELECT DISTINCTROW `wp_posts` . `ID` , `wp_posts` . `post_date` FROM `wp_posts` WHERE ? = ? AND MATCH ( `post_title` ) AGAINST (?) AND `wp_posts` . `post_date` < ? AND `wp_posts` . `post_date` >= ? AND `wp_posts` . `post_status` IN (...) AND `wp_posts` . `ID` != ? AND `wp_posts` . `post_type` IN (?) LIMIT ?, ... 