The uniqid() function generates a unique ID based on the microtime
This means if you can make sure no concurrent request for uniqid generation, it will be fine on that one server (because it bases on the system's time).
My suggestion is to combine it with any user session id or user id if they are available, as it is safe to assume that no one user can make two concurrent requests at the same time.
"10". hexdec(uniqid()).$userId ;//or hexdec(session_id()) instead of $userId
Updated: I am afraid that the hexdec function will return a value too big for the Int type. This is really an overkill. If the only concern is the order number, one can prefix the order number with a timestamp or similar or make the autoincreament start from 2000 instead of 0.