SELECT post_id FROM wp_postmeta WHERE meta_key = '_wp_attachment_metadata' AND meta_value LIKE '%%'Array