How has your Win 7 key expired? Was it a trial version or other?
If you upgrade to Win 10 from Win 7 which isn't activated, your Win 10 won't be activated.
If you want an activated Win10, you will need to either activate your Win 7 or purchase a Win10 key.