SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    10256, 4525, 5272, 4004, 10255, 3535, 
    3539, 4003, 4001, 4254, 6536, 3532, 
    5684, 8356
  )

Query time 0.00112

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "65.13"
    },
    "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": 160,
      "rows_produced_per_join": 160,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "33.13",
        "eval_cost": "32.00",
        "prefix_cost": "65.13",
        "data_read_per_join": "948K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "(`webmarco`.`cscart_categories`.`parent_id` in (10256,4525,5272,4004,10255,3535,3539,4003,4001,4254,6536,3532,5684,8356))"
    }
  }
}

Result

category_id parent_id
3535 3532
3540 3532
3591 3532
9367 3532
9414 3532
9533 3532
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
3549 3539
3552 3539
3569 3539
3572 3539
3599 3539
3638 3539
6316 3539
6482 3539
6630 3539
9531 3539
9536 3539
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
4239 4004
4259 4004
4278 4004
4294 4004
4302 4004
4311 4004
4327 4004
4336 4004
4343 4004
4361 4004
4375 4004
4392 4004
4417 4004
4437 4004
4459 4004
4479 4004
4572 4004
4590 4004
4608 4004
4633 4004
9285 4004
9292 4004
9634 4004
4268 4254
4286 4254
4431 4254
4475 4254
4510 4254
4561 4254
4587 4254
4765 4254
4808 4254
4859 4254
4915 4254
4974 4254
5022 4254
5068 4254
5110 4254
5272 4254
5307 4254
5324 4254
6022 4254
6164 4254
6233 4254
7017 4254
7045 4254
7067 4254
7103 4254
4399 4525
4551 4525
4638 4525
4667 4525
4693 4525
4832 4525
4857 4525
4904 4525
5016 4525
5290 5272
5305 5272
5326 5272
5345 5272
5363 5272
5385 5272
5699 5684
6536 5684
6540 5684
7840 5684
6552 6536
7635 6536
7746 6536
7752 6536
7767 6536
7773 6536
7805 6536
7888 6536
7896 6536
7963 6536
7993 6536
8008 6536
8313 6536
8318 6536
8355 6536
8356 6536
8426 6536
8362 8356
8439 8356
8539 8356
8595 8356
8614 8356
8625 8356
8668 8356
8709 8356
8719 8356
10256 10255
10341 10255
10642 10255
10644 10255
10646 10255
10257 10256