I don't think it is possible to do this in three hours. Assuming we are talking about arrival time to departure time as three hours.
I am pretty nervy about this sort of thing and even I wouldn't try it--unless you can afford to miss your departure flight.
Perhaps you can google for a Thai store in the LAX area?