magento2 – Images missing after upgrade

I have updated my site to Mage2.4.2, after the upgrade some of the products missing the images, instead of the original image it’s loading no image.Is there any way like MySQL query or code that will automatically remove empty images instead of manually change each image by edit? Screenshot is attached .
enter image description here