SELECT `p` . `ID` , `p` . `post_author` , `p` . `post_status` , `p` . `post_name` , `p` . `post_parent` , `p` . `post_type` , `p` . `post_date` , `p` . `post_date_gmt` , `p` . `post_modified` , `p` . `post_modified_gmt` , `p` . `comment_count` FROM `wp_posts` `p` WHERE `p` . `post_password` = ? AND `p` . `post_type` = ? AND `p` . `post_status` = ? AND YEAR ( `p` . `post_date_gmt` ) = ? AND SQL_TSI_MONTH ( `p` . `post_date_gmt` ) = ? ORDER BY `p` . `post_date_gmt` DESC 