Latency issue in Lagom with MySQL

Hi everyone!
I am using Lagom with MySQL and I am having latency issue. I have to refresh my page each time to get the response since it took some time to store in the MySQL database. There is a lag in getting stored and thus fetching data from the database is giving late response.
Is there a way to solve this issue?
Thanks in advance