SELECT *, DATEDIFF(CONCAT(dateYear, '-', dateMonth, '-', dateDay), CURDATE()) AS the_diff FROM event WHERE dateDay = '24' AND dateMonth = '5' AND dateYear = '2022' AND IF(institution2 IS NOT NULL AND institution2 <> '', institution2 LIKE '%yellow%research%', institution1 LIKE '%yellow%research%')