Whoever buys it first. With a centralised database, this is trivial.
Usernames are the same. Who gets @example.bsky.social ? Whoever registers it first. Problem solved.
If you have a central database why do you need atproto?
If you have a central database why do you need atproto?