LEFT JOIN (SELECT countries.id, event_to_country.event_id, countries.name as countries FROM countries LEFT JOIN event_to_country ON countries.id = event_to_country.country_id) as countries ON events.id = countries.event_id
LEFT JOIN countries ON events.country_id = countries.id