SELECT 
  category_id 
FROM 
  cscart_categories 
WHERE 
  id_path LIKE '499/%'

Query time 0.00047

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_categories",
      "access_type": "range",
      "possible_keys": ["id_path"],
      "key": "id_path",
      "key_length": "767",
      "used_key_parts": ["id_path"],
      "rows": 54,
      "filtered": 100,
      "index_condition": "cscart_categories.id_path like '499/%'"
    }
  }
}

Result

category_id
503
523
524
525
526
527
528
529
530
531
535
536
560
561
573
575
576
603
514
572
578
582
583
584
585
586
587
588
589
593
594
595
596
597
604
606
607
517
574
577
580
590
592
598
518
548
549
550
551
553
554
579
581
637
519
542
543
602
521
544
545
546
547
522
532
515
516
533
534
538
539
540
541
552
559
562
591
599
600
601
537
558
630
631
632
633
634
635