How to see whether db was hit or not when I run query in my app
Realtime -- I don't think so.

Log -- Turn on the "general log".  (The specifics depend on the version of MySQL you are running.)  That will write all queries to a file or table for later inspection.  Be sure to turn off the General log after you are finished; it could fill up disk rather fast.