Does product key expire? I purchased 2 by mistake

I set a reminder to cancel automatic subscription renewal, but not in time it seems, I got charged again.

In the mean time I purchased a separate new product key from Amazon.  How long do these keys last, and can I use it next November 2024, and will t still be a valid?