SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    22782, 22814, 22837, 22796, 22805, 22804, 
    22802, 22803, 22819
  ) 
  AND category_id != 1

Query time 0.00008

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": 35,
          "filtered": 100,
          "index_condition": "cscart_categories.parent_id in (22782,22814,22837,22796,22805,22804,22802,22803,22819)",
          "attached_condition": "cscart_categories.category_id <> 1"
        }
      }
    ]
  }
}

Result

category_id parent_id
22783 22782
22784 22782
22785 22782
22786 22782
22787 22782
22788 22782
22789 22782
22790 22782
22791 22782
22792 22782
22793 22782
22794 22782
22795 22782
22797 22796
22798 22796
22799 22796
22800 22796
22801 22796
22806 22805
22807 22805
22808 22805
22809 22805
22810 22805
22811 22805
22812 22805
22813 22805
22815 22814
22816 22814
22817 22814
22818 22814