Building a Laravel 12 hospital OPD booking system with digital queue tokens, and preventing duplicate tokens with transactions, row locks and unique keys.