SELECT 
  * 
FROM 
  cscart_products_categories 
WHERE 
  product_id = 405

Query time 0.00063

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "60.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": 50,
      "rows_produced_per_join": 50,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "50.00",
        "eval_cost": "10.00",
        "prefix_cost": "60.00",
        "data_read_per_join": "800"
      },
      "used_columns": [
        "product_id",
        "category_id",
        "link_type",
        "position",
        "category_position"
      ]
    }
  }
}

Result

product_id category_id link_type position category_position
405 358 A 0 210
405 338 A 0 10
405 339 A 0 20
405 340 A 0 30
405 341 A 0 40
405 342 A 0 50
405 343 A 0 60
405 344 A 0 70
405 345 A 0 80
405 346 A 0 90
405 347 A 0 100
405 348 A 0 110
405 349 A 0 120
405 350 A 0 130
405 351 A 0 140
405 352 A 0 150
405 353 A 0 160
405 354 A 0 170
405 355 A 0 180
405 356 A 0 190
405 357 A 0 200
405 359 A 0 220
405 360 A 0 230
405 361 A 0 240
405 362 A 0 250
405 363 A 0 260
405 364 A 0 270
405 365 A 0 280
405 366 A 0 290
405 367 A 0 300
405 368 A 0 310
405 369 A 0 320
405 370 A 0 330
405 371 A 0 340
405 372 A 0 350
405 373 A 0 360
405 374 A 0 370
405 375 A 0 380
405 376 A 0 390
405 377 A 0 400
405 378 A 0 410
405 388 A 0 420
405 390 A 0 430
405 391 A 0 440
405 392 A 0 450
405 393 A 0 460
405 394 A 0 470
405 395 A 0 480
405 396 A 0 490
405 337 M 0 0