SELECT 
  category_id 
FROM 
  cscart_categories 
WHERE 
  id_path LIKE '20163/21091/%'

Query time 0.00007

JSON explain

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

Result

category_id
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115