MY SOLLUTION
Change order of fields, first goes FK field.
UPDATE tickets SET pending_department_id = 1 AND other_field = 0 WHERE id = 1;