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

Query time 0.00054

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "16.72"
    },
    "table": {
      "table_name": "cscart_categories",
      "access_type": "range",
      "possible_keys": [
        "id_path"
      ],
      "key": "id_path",
      "used_key_parts": [
        "id_path"
      ],
      "key_length": "767",
      "rows_examined_per_scan": 74,
      "rows_produced_per_join": 74,
      "filtered": "100.00",
      "using_index": true,
      "cost_info": {
        "read_cost": "9.32",
        "eval_cost": "7.40",
        "prefix_cost": "16.72",
        "data_read_per_join": "193K"
      },
      "used_columns": [
        "category_id",
        "id_path"
      ],
      "attached_condition": "(`aomnia_com`.`cscart_categories`.`id_path` like '278/%')"
    }
  }
}

Result

category_id
276
305
413
723
724
725
726
727
728
729
414
730
731
732
733
734
735
736
415
737
738
739
740
741
742
416
743
744
745
746
747
748
718
749
750
751
752
753
754
755
719
764
765
766
767
768
720
769
770
771
772
773
774
775
721
776
777
778
779
780
781
722
782
783
784
785
756
757
758
759
760
761
762
763