WordPress database error: [Deadlock found when trying to get lock; try restarting transaction]
INSERT IGNORE INTO cp_wc_product_meta_lookup (`product_id`)
SELECT
posts.ID
FROM cp_posts posts
WHERE
posts.post_type IN ('product', 'product_variation')