SELECT @year,
DAY(CONCAT(@year, '-03-01') - INTERVAL 1 DAY) = 29 AS is_leap;
или
SELECT @year,
!MOD(@year, 4) - !MOD(@year, 100) + !MOD(@year, 400) AS is_leap;
Соответственно
SELECT year, title
FROM Movie
WHERE DAY(CONCAT(year, '-03-01') - INTERVAL 1 DAY) = 29
или
SELECT year, title
FROM Movie
WHERE !MOD(year, 4) - !MOD(year, 100) + !MOD(year, 400)