SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(574, 357, 575, 577, 576, 578, 313) 
  AND category_id != 264

Query time 0.00018

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.009891005,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_categories",
          "access_type": "range",
          "possible_keys": ["PRIMARY", "parent", "p_category_id"],
          "key": "parent",
          "key_length": "3",
          "used_key_parts": ["parent_id"],
          "loops": 1,
          "rows": 17,
          "cost": 0.009891005,
          "filtered": 100,
          "attached_condition": "cscart_categories.parent_id in (574,357,575,577,576,578,313) and cscart_categories.category_id <> 264",
          "using_index": true
        }
      }
    ]
  }
}

Result

category_id parent_id
357 313
359 313
361 313
363 313
571 313
572 313
573 313
574 357
575 357
576 357
577 357
578 357