SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(3631, 3535, 3591, 3617, 3933)

Query time 0.00055

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "19.44"
    },
    "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": 46,
      "rows_produced_per_join": 46,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "10.24",
        "eval_cost": "9.20",
        "prefix_cost": "19.44",
        "data_read_per_join": "272K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`webmarco`.`cscart_categories`.`parent_id` in (3631,3535,3591,3617,3933))"
    }
  }
}

Result

category_id parent_id
3539 3535
3546 3535
3548 3535
3604 3535
3607 3535
3610 3535
3612 3535
3617 3535
3619 3535
3625 3535
3626 3535
3677 3535
3806 3535
3940 3535
3947 3535
4810 3535
5637 3535
6501 3535
6583 3535
9529 3535
3631 3591
3633 3591
3639 3591
3640 3591
3644 3591
3645 3591
3864 3617
3867 3617
3870 3617
3872 3617
3898 3617
3900 3617
3901 3617
3903 3617
3911 3617
3912 3617
3915 3617
3917 3617
3933 3617
3934 3617
3935 3617
3936 3617
3952 3617
3953 3617