
START TRANSACTION;

SET @id := (SELECT `id` FROM `fields` WHERE `key` = "job_statuses_ARRAY_4");

UPDATE `multi_lang` SET `content` = 'This job ad is expired.' WHERE `foreign_id` = @id AND `model` = "pjField" AND `field` = "title";

COMMIT;