You can use the script https://github.com/locize/locize-lastused
Use this only during development or in staging. It is not recommended for production usage because of the additional workload and http requests done.
Like the script you can use the API https://docs.locize.com/integration/api#used-translations.
Both fill the last used date
which can be filtered in the UI:
Depending on your needs it should be safe to remove keys older than a few months.