Yes, it would seem that there really exists a precise interval of time in which you are able to fully enjoy all the benefits of drinking a good coffee
If the last coffee you drank did not wake you up, it’s because maybe you have a wrong time (or coffee).
The ideal time to take caffeine is in the morning, from 9.30 to 11.30.
This is the result of a chronopharmacological research (source)
https://www.ansa.it/saluteebenessere/notizie/rubriche/stilidivita/2013/11/08/Orario-ideale-il-caffe-meta-mattinata_9590563.html