SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    22917, 22911, 22930, 22922, 22901, 22931
  ) 
  AND category_id != 1

Query time 0.00006

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": 30,
          "filtered": 100,
          "index_condition": "cscart_categories.parent_id in (22917,22911,22930,22922,22901,22931)",
          "attached_condition": "cscart_categories.category_id <> 1"
        }
      }
    ]
  }
}

Result

category_id parent_id
22902 22901
22903 22901
22904 22901
22905 22901
22906 22901
22907 22901
22908 22901
22909 22901
22910 22901
22912 22911
22913 22911
22914 22911
22915 22911
22916 22911
22918 22917
22919 22917
22920 22917
22921 22917
22923 22922
22924 22922
22925 22922
22926 22922
22927 22922
22928 22922
22929 22922
22932 22931
22933 22931
22934 22931
22935 22931