SELECT 
  * 
FROM 
  cscart_products_categories 
WHERE 
  product_id = 389

Query time 0.00061

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "49.20"
    },
    "table": {
      "table_name": "cscart_products_categories",
      "access_type": "ref",
      "possible_keys": [
        "pt"
      ],
      "key": "pt",
      "used_key_parts": [
        "product_id"
      ],
      "key_length": "3",
      "ref": [
        "const"
      ],
      "rows_examined_per_scan": 41,
      "rows_produced_per_join": 41,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "41.00",
        "eval_cost": "8.20",
        "prefix_cost": "49.20",
        "data_read_per_join": "656"
      },
      "used_columns": [
        "product_id",
        "category_id",
        "link_type",
        "position",
        "category_position"
      ]
    }
  }
}

Result

product_id category_id link_type position category_position
389 358 A 0 210
389 338 A 0 10
389 339 A 0 20
389 340 A 0 30
389 341 A 0 40
389 342 A 0 50
389 343 A 0 60
389 344 A 0 70
389 345 A 0 80
389 346 A 0 90
389 347 A 0 100
389 348 A 0 110
389 349 A 0 120
389 350 A 0 130
389 351 A 0 140
389 352 A 0 150
389 353 A 0 160
389 354 A 0 170
389 355 A 0 180
389 356 A 0 190
389 357 A 0 200
389 369 A 0 220
389 370 A 0 230
389 371 A 0 240
389 372 A 0 250
389 373 A 0 260
389 374 A 0 270
389 375 A 0 280
389 376 A 0 290
389 377 A 0 300
389 378 A 0 310
389 379 A 0 320
389 380 A 0 330
389 381 A 0 340
389 382 A 0 350
389 383 A 0 360
389 384 A 0 370
389 385 A 0 380
389 386 A 0 390
389 387 A 0 400
389 337 M 0 0