SELECT SQL_CALC_FOUND_ROWS `wp_posts` . `ID` FROM `wp_posts` WHERE ? = ? AND ( ( ( `wp_posts` . `post_title` LIKE ? ) OR ( `wp_posts` . `post_excerpt` LIKE ? ) OR ( `wp_posts` . `post_content` LIKE ? ) ) ) AND ( `wp_posts` . `post_password` = ? ) AND ( ( `wp_posts` . `post_type` = ? AND ( `wp_posts` . `post_status` = ? ) ) OR ( `wp_posts` . `post_type` = ? AND ( `wp_posts` . `post_status` = ? ) ) OR ( `wp_posts` . `post_type` = ? AND ( `wp_posts` . `post_status` = ? ) ) ) ORDER BY `wp_posts` . `post_date` DESC LIMIT ?, ... 