SELECT 
  a.category_id 
FROM 
  cscart_categories as a 
  LEFT JOIN cscart_categories as b ON b.category_id IN (990) 
WHERE 
  a.id_path LIKE CONCAT(b.id_path, '/%')

Query time 0.00093

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "b",
      "access_type": "const",
      "possible_keys": ["PRIMARY", "p_category_id"],
      "key": "PRIMARY",
      "key_length": "3",
      "used_key_parts": ["category_id"],
      "ref": ["const"],
      "rows": 1,
      "filtered": 100
    },
    "table": {
      "table_name": "a",
      "access_type": "ALL",
      "rows": 654,
      "filtered": 100,
      "attached_condition": "a.id_path like <cache>(concat('954/990','/%'))"
    }
  }
}

Result

category_id
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046