Typical cause: read-modify-write in application code. Fixes: do the arithmetic in SQL (SET balance = balance - 10), lock the row with SELECT ... FOR UPDATE, or use a higher isolation level and retry.