SELECT
tconnect_ab__gp_locations.*,
tconnect_ab__gp_location_descriptions.*
FROM
tconnect_ab__gp_locations
LEFT JOIN tconnect_ab__gp_location_descriptions ON tconnect_ab__gp_locations.location_id = tconnect_ab__gp_location_descriptions.location_id
AND tconnect_ab__gp_location_descriptions.lang_code = 'en'
WHERE
1
AND tconnect_ab__gp_locations.location_id = 0
AND tconnect_ab__gp_locations.status = 'A'