85

The other solution here is absolutely right and makes sense for larger systems where it's not as easy.
With the data you have, that is relatively simple, you could go for a non-blocking option:
UPDATE [FESTIVAL_TICKET]
SET IS_SCANNED = TRUE
WHERE TICKET_ID = @ScannedKey
AND IS_SCANNED = ...