A friend of mine used to buy COA stickers from eBay that had XP keys on them for like $10 each. They are OEM keys so he used an OEM XP CD-ROM to install them with the keys on used systems. They would activate even if they have been used before. If activations run out you can call Microsoft and have them reset.
Windows 10 Keys are different, locked to the hardware. Windows XP keys can be transferred to a different system.
http://www.experts-exchange.com/articles/3721/Can-I-transfer...
In a word the EULA says you can't transfer a license to a different PC, but it hasn't been tested in a court yet. People have transferred an OEM license and activated it. So it can be done, but the question about it being legal might vary by nation as Germany allows it if other nations do not.
But since it hasn't been tested in a court yet, nobody can say how legally binding it is or is not.
Just use this as they suggest for testing. Keep your data elsewhere and roll back/re-install every few months.