Загрузка данных
INNER JOIN buy_step ON buy_step.step_id = step.step_id WHERE buy_step.step_id = 1 AND date_step_end IS NOT NULL;