WordPress database error: [Query execution was interrupted, maximum statement execution time exceeded]SELECT
p.ID, p.post_excerpt, p.post_type, p.post_password, p.post_parent, p.post_date_gmt, p.post_modified_gmt, ap.priority, ap.frequency, p.post_title, ap.images
FROM wp_posts as p
LEFT JOIN wp_aioseo_posts as ap ON ap.post_id = p.ID
WHERE 1 = 1 AND
`p`.`post_status` = 'publish'
AND p.post_type IN ( 'post', 'page', 'attachment', 'e-floating-buttons', 'product', 'destination', 'event', 'ova_framework_hf_el' )
AND ( ( `p`.`post_type` = 'post' AND ( `ap`.`robots_noindex` IS NULL OR `ap`.`robots_default` = 1 OR `ap`.`robots_noindex` = 0 OR post_id = 10699 ) ) OR ( `p`.`post_type` = 'page' AND ( `ap`.`robots_noindex` IS NULL OR `ap`.`robots_default` = 1 OR `ap`.`robots_noindex` = 0 OR post_id = 10699 ) ) OR ( `p`.`post_type` = 'attachment' AND ( `ap`.`robots_noindex` IS NULL OR `ap`.`robots_default` = 1 OR `ap`.`robots_noindex` = 0 OR post_id = 10699 ) ) OR ( `p`.`post_type` = 'e-floating-buttons' AND ( `ap`.`robots_noindex` IS NULL OR `ap`.`robots_default` = 1 OR `ap`.`robots_noindex` = 0 OR post_id = 10699 ) ) OR ( `p`.`post_type` = 'product' AND ( `ap`.`robots_noindex` IS NULL OR `ap`.`robots_default` = 1 OR `ap`.`robots_noindex` = 0 OR post_id = 10699 ) ) OR ( `p`.`post_type` = 'destination' AND ( `ap`.`robots_noindex` IS NULL OR `ap`.`robots_default` = 1 OR `ap`.`robots_noindex` = 0 OR post_id = 10699 ) ) OR ( `p`.`post_type` = 'event' AND ( `ap`.`robots_noindex` IS NULL OR `ap`.`robots_default` = 1 OR `ap`.`robots_noindex` = 0 OR post_id = 10699 ) ) OR ( `p`.`post_type` = 'ova_framework_hf_el' AND ( `ap`.`robots_noindex` IS NULL OR `ap`.`robots_default` = 1 OR `ap`.`robots_noindex` = 0 OR post_id = 10699 ) ) )
AND `p`.`ID` != 10715
AND 1=1 OR `p`.`ID` = 10715
ORDER BY case when `p`.`ID` = 10715 then 0 else 1 end, case when `p`.`ID` = 10699 then 0 else 1 end, `p`.`post_modified_gmt` DESC
LIMIT 0, 50
/* 1 = 1 */