SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) INNER JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) WHERE 1=1 AND ( wp_postmeta.meta_key = 'property-rentprice' AND ( ( mt1.meta_key = 'property-salestype' AND mt1.meta_value LIKE '{d1fa351f2768248bb0efa6e4c06b16a4c99ac63467f891b432a5cb82bf56c4c8}{d1fa351f2768248bb0efa6e4c06b16a4c99ac63467f891b432a5cb82bf56c4c8}' ) ) ) AND ((wp_posts.post_type = 'property' AND (wp_posts.post_status = 'publish'))) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date ASC LIMIT 190, 10