I experimented with a few things for headlamp lenses until I found the right combo.
I wet sand with 1000 grit sandpaper to remove scratches, move to 1500 then 2500 grit.
Then using a rotary buffer with a wool bonnet I apply Scratch Off compound.
Start slow then increase to high speed and buff thoroughly.
They look like brand new.