SELECT `cp_products` . `id` AS `id` , `cp_products` . `nome` AS `nome` , `cp_products` . `nomeesp` AS `nomeesp` , `cp_products` . `slugesp` AS `slugesp` , `cp_products` . `slugeng` AS `slugeng` , `cp_products` . `brand_id` AS `brand_id` , `cp_products` . `ativo` AS `ativo` , `cp_products` . `ordem` AS `ordem` FROM `cp_products` LEFT JOIN `cp_brands` ON `cp_products` . `brand_id` = `cp_brands` . `id` WHERE ( `cp_products` . `excluido` IS NULL OR `cp_products` . `excluido` = ? ) AND `cp_brands` . `slugeng` = ? 