SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(4003, 4001)

Query time 0.00094

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "10.63"
    },
    "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": 24,
      "rows_produced_per_join": 24,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "5.83",
        "eval_cost": "4.80",
        "prefix_cost": "10.63",
        "data_read_per_join": "142K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`webmarco`.`cscart_categories`.`parent_id` in (4003,4001))"
    }
  }
}

Result

category_id parent_id
4003 4001
4254 4001
4315 4001
9987 4001
4004 4003
4257 4003
4275 4003
4288 4003
4289 4003
4304 4003
4334 4003
4365 4003
4422 4003
4423 4003
4458 4003
4468 4003
4472 4003
4504 4003
4525 4003
4544 4003
4865 4003
4888 4003
5214 4003
9284 4003