You can prevent product images from being optimized by adding the product tag "tinyimg_skip" to any product where you don't want the images optimized.
If you have many products to exclude and manually adding the tag is too time-consuming, you can use apps like Power Tools Bulk Edit Tags to automate the process and add tags in bulk.