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.