SELECT 
  * 
FROM 
  cscart_products_categories 
WHERE 
  product_id = 419

Query time 0.00037

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "48.00"
    },
    "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": 40,
      "rows_produced_per_join": 40,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "40.00",
        "eval_cost": "8.00",
        "prefix_cost": "48.00",
        "data_read_per_join": "640"
      },
      "used_columns": [
        "product_id",
        "category_id",
        "link_type",
        "position",
        "category_position"
      ]
    }
  }
}

Result

product_id category_id link_type position category_position
419 358 A 0 200
419 338 A 0 10
419 339 A 0 20
419 340 A 0 30
419 341 A 0 40
419 342 A 0 50
419 343 A 0 60
419 344 A 0 70
419 345 A 0 80
419 346 A 0 90
419 348 A 0 100
419 349 A 0 110
419 350 A 0 120
419 351 A 0 130
419 352 A 0 140
419 353 A 0 150
419 354 A 0 160
419 355 A 0 170
419 356 A 0 180
419 357 A 0 190
419 359 A 0 210
419 360 A 0 220
419 361 A 0 230
419 362 A 0 240
419 363 A 0 250
419 364 A 0 260
419 365 A 0 270
419 366 A 0 280
419 367 A 0 290
419 368 A 0 300
419 388 A 0 310
419 389 A 0 320
419 390 A 0 330
419 391 A 0 340
419 392 A 0 350
419 393 A 0 360
419 394 A 0 370
419 395 A 0 380
419 396 A 0 390
419 337 M 0 0