I am a Happiness Engineer at WordPress.com and we are seeing issues on a number of sites hosted with us following the recent update as well. Here is an example of a problem query:
Query | 6147 | Sending data | UPDATE wp_154393025_postmeta SET meta_value ='wp-post'
WHERE meta_key = '_elementor_template_type' && post_id in (
SELECT p1.ID FROM wp_154393025_posts AS p LEFT JOIN wp_154393025_posts AS p1 ON (p.ID = p1.post_parent || p.ID = p1.ID) WHERE p.post_type = 'post'
)
These seem to be coming from _v_2_7_0_rename_document_types_to_wp()
Please let me know if there is any further information we can provide