No guarantees about this for the future, but Cisco Meraki often continues to make the correct licences available for some time even after End of Life for a specific product. I just checked MS22P, for example - which went End of Life nearly two years ago and for which licences are still listed in CCW. Same for MX60 (EoL October 2022).
Remember too that, as and when you purchase new licences, you have a choice as to the duration you purchase. Think about this carefully at renewal time, if you have obsolescence replacement programs - and don't leave unused licences for replaced devices active in your Dashboard if you 'license more devices' regularly; plan to move them out to a 'dummy' Org, as and when the hardware is removed.
Bear in mind however that, beyond End of Life, the services enabled by your license are much reduced: neither firmware features nor fixes (including for product security) will be developed, warranty replacements are no longer available and any assistance provided by Meraki Support would be very much limited to best effort.