If you save the time when the ticket is to be unlocked and then when someone wants to book it you just have to see if that time has passed, it should work without any trouble or stress to the server.
So in your ticket table you add a datetime
field named 'booked_until', store the time when the item is going to get unlocked and you are set!