SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(7328, 7226, 7168, 7182, 7318, 7166) 
  AND category_id != 1

Query time 0.00051

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "4.86"
    },
    "table": {
      "table_name": "cscart_categories",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY",
        "parent",
        "p_category_id"
      ],
      "key": "parent",
      "used_key_parts": [
        "parent_id",
        "category_id"
      ],
      "key_length": "6",
      "rows_examined_per_scan": 23,
      "rows_produced_per_join": 23,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "2.56",
        "eval_cost": "2.30",
        "prefix_cost": "4.86",
        "data_read_per_join": "60K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "((`nuie_scalesta_net`.`cscart_categories`.`parent_id` in (7328,7226,7168,7182,7318,7166)) and (`nuie_scalesta_net`.`cscart_categories`.`category_id` <> 1))"
    }
  }
}

Result

category_id parent_id
7167 7166
7193 7166
7169 7168
7172 7168
7173 7168
7174 7168
7175 7168
7176 7168
7177 7168
7178 7168
7179 7168
7180 7168
7181 7168
7183 7182
7319 7318