Broken Image Links, Metadata issues

I have over 10,000 post metadata for image attachments that no longer exist. How can I remove? I tried the plugin image cleanup and it couldn't repair the links or remove, as the images themselves no longer exist. Thanks!