The data and expert opinion can vary by the specific tire and its uses. Six years is probably a safe maximum, regardless of use and wear:
https://www.youtube.com/watch?v=mDgSk5xWkrI&t=457s
https://www.carry-ontrailer.com/how-to-know-when-to-replace-your-trailers-tires/#:~:text=Each%20tire%20manufacturer%20will%20likely,three%20years%2C%20even%20if%20the
A little research will lead to countless opinions with some data thrown in. After having an unused spare tire dry rot and fail in 4 years I did as much research as possible and would recommend erring on the side of caution.