Well, of course, there is an easy way to know this and that is Execution plan property. Is there any way to know if the executed query is from cache or not?
Lots of people who watched the video also asked me to build a similar video. Let us see today a video where I explain how to detect memory pressure.
I have helped my clients with MySQL Performance when I know the solution. Let us discuss Slow Query and innodb_buffer_pool_size.