SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    22546, 22547, 22549, 22550, 22548, 22551, 
    22552, 22557
  ) 
  AND category_id != 1

Query time 0.00005

JSON explain

{
  "query_block": {
    "select_id": 1,
    "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"],
          "rows": 14,
          "filtered": 100,
          "index_condition": "cscart_categories.parent_id in (22546,22547,22549,22550,22548,22551,22552,22557)",
          "attached_condition": "cscart_categories.category_id <> 1"
        }
      }
    ]
  }
}

Result

category_id parent_id
22553 22552
22554 22552
22555 22552
22556 22552
22558 22557
22559 22557
22560 22557
22561 22557