SELECT 
  category_id, 
  parent_id 
FROM 
  cscart_categories 
WHERE 
  parent_id IN(
    379, 323, 321, 235, 356, 415, 414, 357, 
    360, 344, 601, 190, 341, 527, 362, 450, 
    167, 381, 514, 609, 352, 326, 325, 324, 
    432, 358, 613, 429, 361, 602, 337, 610, 
    515, 363, 342, 424, 382, 451, 353, 236, 
    443, 339, 340, 430, 343, 452, 383, 603, 
    425, 234, 516, 544, 483, 469, 471, 354, 
    505, 559, 526, 359, 486, 604, 320, 170, 
    426, 517, 174, 322, 364, 355, 490, 528, 
    614, 470, 567, 605, 399, 518, 446, 529, 
    506, 444, 606, 457, 648, 328, 448, 366, 
    525, 530, 532, 449, 477, 608, 347, 329, 
    438, 519, 531, 481, 607, 492, 520, 350, 
    585, 351, 586, 523, 524, 543, 657, 378, 
    564, 589, 513, 423, 600
  ) 
  AND category_id != 264

Query time 0.00338

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "37.54"
    },
    "table": {
      "table_name": "cscart_categories",
      "access_type": "ALL",
      "possible_keys": [
        "PRIMARY",
        "parent",
        "p_category_id"
      ],
      "rows_examined_per_scan": 347,
      "rows_produced_per_join": 178,
      "filtered": "51.59",
      "cost_info": {
        "read_cost": "19.64",
        "eval_cost": "17.90",
        "prefix_cost": "37.54",
        "data_read_per_join": "560K"
      },
      "used_columns": [
        "category_id",
        "parent_id"
      ],
      "attached_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`parent_id` in (379,323,321,235,356,415,414,357,360,344,601,190,341,527,362,450,167,381,514,609,352,326,325,324,432,358,613,429,361,602,337,610,515,363,342,424,382,451,353,236,443,339,340,430,343,452,383,603,425,234,516,544,483,469,471,354,505,559,526,359,486,604,320,170,426,517,174,322,364,355,490,528,614,470,567,605,399,518,446,529,506,444,606,457,648,328,448,366,525,530,532,449,477,608,347,329,438,519,531,481,607,492,520,350,585,351,586,523,524,543,657,378,564,589,513,423,600)) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`category_id` <> 264))"
    }
  }
}

Result

category_id parent_id
190 174
235 234
381 350
379 378
321 320
323 322
341 328
344 329
356 167
357 170
360 359
362 342
414 351
415 414
450 424
514 513
527 329
601 600
609 608
515 513
352 167
382 350
326 234
324 322
325 320
337 174
342 328
345 329
358 170
361 359
363 342
424 423
429 351
432 378
451 424
602 600
610 608
613 414
516 513
236 234
383 350
353 167
339 320
340 322
343 543
346 329
425 423
430 351
443 378
452 424
603 600
486 174
483 378
505 170
354 167
359 328
426 424
517 513
468 329
469 320
471 322
526 170
544 543
559 234
604 600
490 378
355 167
364 328
399 329
446 351
447 234
470 234
518 513
528 170
567 543
605 600
614 320
506 378
457 329
366 328
444 167
448 423
529 170
606 600
525 167
347 329
477 423
438 328
449 423
530 170
532 167
608 600
481 328
478 423
519 167
531 170
607 600
492 424
520 423
585 423
523 399
524 399
543 328
586 423
564 328
589 328
648 351
657 423