SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(9948, 10159, 9947)

Query time 0.00050

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "9.42"
    },
    "table": {
      "table_name": "cscart_categories",
      "access_type": "range",
      "possible_keys": [
        "parent"
      ],
      "key": "parent",
      "used_key_parts": [
        "parent_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 21,
      "rows_produced_per_join": 21,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "5.22",
        "eval_cost": "4.20",
        "prefix_cost": "9.42",
        "data_read_per_join": "124K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`webmarco`.`cscart_categories`.`parent_id` in (9948,10159,9947))"
    }
  }
}

Result

category_id parent_id
9948 9947
9949 9947
9950 9947
10161 9947
10163 9947
10164 9947
10523 9947
10149 9948
10150 9948
10151 9948
10152 9948
10153 9948
10154 9948
10155 9948
10156 9948
10157 9948
10158 9948
10159 9948
10160 9948
10517 9948