Build a FastAPI booking API on ClickHouse Managed Postgres. Use SQLAlchemy transactions, row locks, and retry-safe requests to protect the last seat.