I am using (MYSQL Workbench 8.0). When I execute the first query (simple select query). It takes too long (1 minute 15 seconds on average) to execute that query. After the first successful attempt, it works fine.
Additional Info: My database is on AWS (Amazon Web Services) and it is a private database.
Simple Query like:
SELECT * FROM DATABASE_TABLE LIMIT 1;
I read other sources but unable to find the right answer.
Additional Resources:
mysql query taking too long to execute
Amazon RDS MySQL instance performs very slow MySQL query is the very slow first time to run