SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(22404, 22438, 22431) 
  AND category_id != 1

Query time 0.00009

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": 22,
          "filtered": 100,
          "index_condition": "cscart_categories.parent_id in (22404,22438,22431)",
          "attached_condition": "cscart_categories.category_id <> 1"
        }
      }
    ]
  }
}

Result

category_id parent_id
22405 22404
22406 22404
22407 22404
22408 22404
22409 22404
22410 22404
22411 22404
22412 22404
22413 22404
22414 22404
22425 22404
22426 22404
22427 22404
22428 22404
22430 22431
22432 22431
22433 22431
22434 22431
22435 22431
22436 22431
22437 22431