Perpetual license, with expired maintenance will allow you to activate a new installation but only on the same PBX version that the key corresponds to. Example: a 15.5SP6 key will not work with the V16 installer.
You will not be able to use 3CX-based FQDN and SMTP so you will have to provide your own solution for those components.