Working example doing async calls to MySQL