i want to check if a value on a database table is currently used by someone, and if so others cant use the value unless the other user is disconnected. for license system pu