delete from TimetableLock where pmUser_insID = '590901000006303' or TimetableLock_lockTime < dateadd('hour', -1, dbo.tzGetDate())
