In Google Search Console, you can use the URL Inspection Tool to test how Google sees a URL in its index versus in real time by using the live test button. Jamie Indigo asked on Twitter how long does that URL for the live test cache. Daniel Waisberg of Google responded that it lasts about 90 days.