SELECT plans_id, fio, install_date, install_time, install_time_end, car_place, date_start_new, date_finish_new FROM plans
WHERE car_place = 2
and '2020-03-03 09:00:00' between date_start_new and date_finish_new
or date_start_new between '2020-03-03 09:00:00'and '2020-03-03 12:00:00'
and status = 1
and NOT car_place IN (1)
ORDER BY `plans`.`install_time` ASC