WHERE (active = 1 AND custom_active = -1 OR custom_active = 1) AND last_square_price != 0 AND name NOT LIKE '%damage%' AND category NOT LIKE '%clearance%' AND subcat NOT LIKE '%clearance%' AND raw_table != 'CSV_hrp' AND ((custom_newcat = '' AND newcat = '' AND category LIKE '%Connectors, Adapters & Wire%') OR (newcat = 'Connectors, Adapters & Wire' AND custom_newcat = '') OR custom_newcat = 'Connectors, Adapters & Wire') AND ((custom_subcat = '' AND subcat = 'Training Cord') OR custom_subcat='Training Cord')

Connectors, Adapters & Wire