SELECT category_id, parent_id FROM cscart_categories WHERE parent_id IN(591, 592, 593, 594, 595, 596, 597) AND category_id != 264