Keeps asking for licence

I don’t believe there’s a way to restore licenses from time machine. You will need to re-enter the keys from each plugin.

Stop using Clean my Mac - It breaks more than it fixes