I have a table as an image below
I want to delete all records which have where condition but it's error
MYSQL query
DELETE FROM `DiseaseLogs`
WHERE `UserId` = '098935f0-ef88-11eb-9baa-e9fb6cd272ad'
AND `logType` = 'vaccine'
AND `id` NOT IN (130 , 139)
Error: #1205 - Lock wait timeout exceeded; try restarting transaction