Docker Toolbox - 仅通过浏览器缓慢的mysql连接

i have docker toolbox for windows home and I have a file that queries the database, but the speed detected by chrome to see the results is slow. If I run a query from the php storm terminal it is immediate. I would like to know if there is a solution to this slowdown. The file I am running to test is just an empty file with only the code for the query, for try the problem. I need to test things quickly. I don't know what i do to do to solve the problem. Thank you