Problem with spawning Character

I have problem sometimes when I start my server.
I spawned without skin and on some random location but It identifies my character in database but not my location and skin so how can I fix that, Its doing only sometimes.
Someone told me that my database is slow, so how can I fix that ?
Im using oxmysql and mysql-async in the same time and Im using ESX

Try to reconfig your database. Ensure that you have all the requirements for the ESX server also.

I already did that, but I will try again.