SELECT * FROM sc_progetti WHERE id = '120' AND ( (data_ini <= '2020-08-05 00:00:00' AND data_fin >= '2020-08-05 00:00:00') OR (data_ini = '0000-00-00 00:00:00') ) >