UPDATE cscart_lock_keys SET expiry_at = UNIX_TIMESTAMP(NOW()) + 30, token = 'HaNiEvGh8CUdO14pqXuUdrOpJhRim3QQ3H4OfOGYYNk=' WHERE key_id = '03114f5f795eaf46c4ca9f93415bb6567efc0ecefea37f3773c21e39c57956c8' AND (token = 'HaNiEvGh8CUdO14pqXuUdrOpJhRim3QQ3H4OfOGYYNk=' OR expiry_at <= UNIX_TIMESTAMP(NOW()))

Query is invalid