SELECT 
  cscart_images.*, 
  cscart_images_links.*, 
  cscart_common_descriptions.description AS alt, 
  cscart_images.image_id AS images_image_id 
FROM 
  cscart_images_links 
  LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id 
  LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id 
  AND cscart_common_descriptions.object_holder = 'images' 
  AND cscart_common_descriptions.lang_code = 'en' 
WHERE 
  cscart_images_links.object_type = 'product' 
  AND cscart_images_links.type = 'M' 
  AND cscart_images_links.object_id IN (
    613, 783, 793, 804, 814, 824, 835, 4691, 
    857, 3312, 7360, 1229, 846, 934, 4687, 
    4688, 4689, 4690, 935, 936, 937, 938, 
    939, 940, 419, 2368, 2477, 2481, 2547, 
    2551, 2636, 3071, 2976, 2980, 3311, 
    6866, 7448, 2640, 3069, 6648, 6649, 
    3070, 513, 7471, 511, 512, 3672, 3673, 
    3674, 4270, 423, 465, 469, 472, 475, 
    478, 485, 488, 491, 2973, 3505, 3656, 
    7464, 3504, 3506, 3507, 3508, 3509, 
    3510
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00474

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "167.76"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "70.00"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_images_links",
            "access_type": "range",
            "possible_keys": [
              "object_id"
            ],
            "key": "object_id",
            "used_key_parts": [
              "object_id",
              "object_type",
              "type"
            ],
            "key_length": "81",
            "rows_examined_per_scan": 70,
            "rows_produced_per_join": 70,
            "filtered": "100.00",
            "index_condition": "((`test2_gaseus`.`cscart_images_links`.`object_type` = 'product') and (`test2_gaseus`.`cscart_images_links`.`type` = 'M') and (`test2_gaseus`.`cscart_images_links`.`object_id` in (613,783,793,804,814,824,835,4691,857,3312,7360,1229,846,934,4687,4688,4689,4690,935,936,937,938,939,940,419,2368,2477,2481,2547,2551,2636,3071,2976,2980,3311,6866,7448,2640,3069,6648,6649,3070,513,7471,511,512,3672,3673,3674,4270,423,465,469,472,475,478,485,488,491,2973,3505,3656,7464,3504,3506,3507,3508,3509,3510)))",
            "cost_info": {
              "read_cost": "41.76",
              "eval_cost": "7.00",
              "prefix_cost": "48.76",
              "data_read_per_join": "6K"
            },
            "used_columns": [
              "pair_id",
              "object_id",
              "object_type",
              "image_id",
              "detailed_id",
              "type",
              "position"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_images",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "image_id"
            ],
            "key_length": "4",
            "ref": [
              "test2_gaseus.cscart_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 70,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "17.50",
              "eval_cost": "7.00",
              "prefix_cost": "73.26",
              "data_read_per_join": "53K"
            },
            "used_columns": [
              "image_id",
              "image_path",
              "image_x",
              "image_y",
              "is_high_res"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_common_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "object_id",
              "lang_code",
              "object_holder"
            ],
            "key_length": "108",
            "ref": [
              "test2_gaseus.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 70,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "17.50",
              "eval_cost": "7.00",
              "prefix_cost": "97.76",
              "data_read_per_join": "41K"
            },
            "used_columns": [
              "object_id",
              "description",
              "lang_code",
              "object_holder"
            ]
          }
        }
      ]
    }
  }
}

Result

image_id image_path image_x image_y is_high_res pair_id object_id object_type detailed_id type position alt images_image_id
0 Druckminderer-Vulkan-F-40-200-Effect-Stickstoff-2_600x600_2x_f51x-r4.jpg 500 430 N 6120 6648 product 9603 M 0 9603
0 Druckminderer-Vulkan-F-40-200-Effect-Stickstoff-2_600x600_2x.jpg 500 430 N 6121 6649 product 9604 M 0 9604
0 1474006897-19496_600x600_2x.jpg 500 430 N 6338 6866 product 9821 M 0 9821
0 1337327177-22599_600x600_2x_f7gx-x2.jpg 580 462 N 6832 7360 product 10315 M 0 10315
0 Druckminderer-Vulkan-F-10-300-Effect-Stickstoff-zweistufig-2_600x600_2x_gbra-au.jpg 500 364 N 6920 7448 product 10403 M 0 10403
0 Druckminderer-Vulkan-F-10-300-Effect-Stickstoff-zweistufig-2_600x600_2x_a7ug-6y.jpg 500 364 N 6936 7464 product 10419 M 0 10419
0 1390207300-32478_600x600_2x_rw8t-2v.jpg 500 399 N 6943 7471 product 10426 M 0 10426
0 Flaschendruckminderer-Vulkan-F-40-300-Effect-Sauerstoff-einstufig-2_600x600_2x_0ldo-rc.jpg 500 430 N 13120 419 product 16600 M 0 16600
0 1497608020-28589-1_600x600_2x_bkiq-z1.jpg 459 500 N 13124 423 product 16604 M 0 16604
0 1498122600-21393-1_600x600_2x_s7xi-sh.jpg 500 491 N 13166 465 product 16646 M 0 16646
0 1498123389-2467-1_600x600_2x_55j7-58.jpg 500 491 N 13170 469 product 16650 M 0 16650
0 1498122970-27521-1_600x600_2x_gowl-8q.jpg 500 491 N 13173 472 product 16653 M 0 16653
0 f60-300_600x600_2x_yots-tu.jpg 500 491 N 13176 475 product 16656 M 0 16656
0 1498121504-5474-1_600x600_2x_n7be-cb.jpg 500 491 N 13179 478 product 16659 M 0 16659
0 1498122827-24797-1_600x600_2x_bvmo-sp.jpg 500 491 N 13186 485 product 16666 M 0 16666
0 1498122600-21393-1_600x600_2x_4fi9-5c.jpg 500 491 N 13189 488 product 16669 M 0 16669
0 1497608713-6083-1_600x600_2x_oab7-m0.jpg 459 500 N 13192 491 product 16672 M 0 16672
0 1497608585-4196-1_600x600_2x_mp08-hw.jpg 459 500 N 13212 511 product 16692 M 0 16692
0 1497608585-4196-1_600x600_2x_lk5h-18.jpg 459 500 N 13213 512 product 16693 M 0 16693
0 1497608585-4196-1_600x600_2x_dcgo-pk.jpg 459 500 N 13214 513 product 16694 M 0 16694
0 Flaschendruckminderer-Vulkan-F-20-300-Effect-CO2-Argon-einstufig-2_600x600_2x_4xwe-y3.jpg 500 451 N 13314 613 product 16794 M 0 16794
0 Druckminderer-Vulkan-F-20-300-Effect-Pr_fgas-einstufig-2_600x600_2x_6rfd-3j.jpg 500 451 N 13484 783 product 16964 M 0 16964
0 Druckminderer-Vulkan-F-20-300-Effect-Druckluft-einstufig-2_600x600_2x_pid0-px.jpg 500 451 N 13494 793 product 16974 M 0 16974
0 Druckminderer-Vulkan-F-20-300-Effect-Formiergas-einstufig-2_600x600_2x_z8af-bz.jpg 500 451 N 13505 804 product 16985 M 0 16985
0 Druckminderer-Vulkan-F-20-300-Effect-Wasserstoff-einstufig-2_600x600_2x_843u-ew.jpg 500 451 N 13515 814 product 16995 M 0 16995
0 Druckminderer-Vulkan-F-20-300-Effect-Stickstoff-einstufig-2_600x600_2x_7pp3-wt.jpg 500 451 N 13525 824 product 17005 M 0 17005
0 Druckminderer-Vulkan-F-20-300-Effect-Helium-einstufig-2_600x600_2x_wrjc-xq.jpg 500 451 N 13536 835 product 17016 M 0 17016
0 Druckminderer-Vulkan-F-20-300-Effect-Sauerstoff-einstufig-2_600x600_2x_1np3-62.jpg 500 451 N 13547 846 product 17027 M 0 17027
0 Druckminderer-Vulkan-F-20-200-Effect-Methan-2_600x600_2x_savn-ud.jpg 500 494 N 13558 857 product 17038 M 0 17038
0 Druckminderer-Vulkan-F-20-200-Effect-Sauerstoff-2_600x600_2x_lgln-rc.jpg 500 494 N 13635 934 product 17115 M 0 17115
0 Druckminderer-Vulkan-F-20-200-Effect-Sauerstoff-2_600x600_2x_2jk7-4z.jpg 500 494 N 13636 935 product 17116 M 0 17116
0 Druckminderer-Vulkan-F-20-200-Effect-Sauerstoff-2_600x600_2x_76pz-gh.jpg 500 494 N 13637 936 product 17117 M 0 17117
0 Druckminderer-Vulkan-F-20-200-Effect-Sauerstoff-2_600x600_2x_lnjg-i1.jpg 500 494 N 13638 937 product 17118 M 0 17118
0 Druckminderer-Vulkan-F-20-200-Effect-Sauerstoff-2_600x600_2x_va39-pw.jpg 500 494 N 13639 938 product 17119 M 0 17119
0 Druckminderer-Vulkan-F-20-200-Effect-Sauerstoff-2_600x600_2x_1390-g9_cd3b-sd.jpg 500 494 N 13640 939 product 17121 M 0 17121
0 Druckminderer-Vulkan-F-20-200-Effect-Sauerstoff-2_600x600_2x.jpg 500 494 N 13641 940 product 17122 M 0 17122
0 208230-F20-2-300-Effect-Seite-51_600x600_2x_yi3a-af.jpg 1200 1003 N 13930 1229 product 17411 M 0 17411
0 Druckminderer-Vulkan-F-40-300-Effect-Druckluft-einstufig-2_600x600_2x_0rrd-9v.jpg 500 430 N 15069 2368 product 18550 M 0 18550
0 Druckminderer-Vulkan-F-40-300-Effect-Helium-einstufig-2_600x600_2x_xlf7-uf.jpg 500 430 N 15178 2477 product 18659 M 0 18659
0 Druckminderer-Vulkan-F-40-300-Effect-CO2-Argon-einstufig-2_600x600_2x_cflr-or.jpg 500 430 N 15182 2481 product 18663 M 0 18663
0 Druckminderer-F40-300-Vulkan-Effect-Formiergas-2_600x600_2x_0gfv-w6.jpg 500 430 N 15248 2547 product 18729 M 0 18729
0 Druckminderer-Vulkan-F-40-300-Effect-Wasserstoff-einstufig-2_600x600_2x_pakq-sw.jpg 500 430 N 15252 2551 product 18733 M 0 18733
0 Druckminderer-Vulkan-F40-300-bar_600x600_2x_rcyv-7a.jpg 500 430 N 15337 2636 product 18818 M 0 18818
0 Druckminderer-Vulkan-F-40-300-Effect-Stickstoff-einstufig-2_600x600_2x_qwoq-r7.jpg 500 430 N 15341 2640 product 18822 M 0 18822
0 1508162444-19948_600x600_2x_0otb-m6.jpg 459 500 N 15674 2973 product 19155 M 0 19155
0 Druckminderer-Vulkan-F-40-200-Effect-Wasserstoff-2_600x600_2x_c37z-oy.jpg 500 430 N 15677 2976 product 19158 M 0 19158
0 Druckminderer-Vulkan-F-40-200-Effect-Methan-2_600x600_2x_qviq-i9.jpg 500 430 N 15681 2980 product 19162 M 0 19162
0 Druckminderer-Vulkan-F-40-200-Effect-Stickstoff-2_600x600_2x_tkic-we.jpg 500 430 N 15770 3069 product 19251 M 0 19251
0 Druckminderer-Vulkan-F-40-200-Effect-Stickstoff-2_600x600_2x_qd6t-u8.jpg 500 430 N 15771 3070 product 19252 M 0 19252
0 Druckminderer-Vulkan-F-40-200-Effect-Stickstoff-2_600x600_2x_p485-ae.jpg 500 430 N 15772 3071 product 19253 M 0 19253
0 1354552700-14314_600x600_2x.jpg 500 430 N 16012 3311 product 19493 M 0 19493
0 1354552331-9872_600x600_2x.jpg 500 494 N 16013 3312 product 19494 M 0 19494
0 1497609223-14559-1_600x600_2x.jpg 459 500 N 16205 3504 product 19686 M 0 19686
0 1497609223-14559-1_600x600_2x_tlsn-3h.jpg 459 500 N 16206 3505 product 19687 M 0 19687
0 1497609223-14559-1_600x600_2x_acwt-p1.jpg 459 500 N 16207 3506 product 19688 M 0 19688
0 1497609223-14559-1_600x600_2x_6y8g-6t.jpg 459 500 N 16208 3507 product 19689 M 0 19689
0 1497609223-14559-1_600x600_2x_t1nz-wg.jpg 459 500 N 16209 3508 product 19690 M 0 19690
0 1497609223-14559-1_600x600_2x_w6zd-aa.jpg 459 500 N 16210 3509 product 19691 M 0 19691
0 1497609223-14559-1_600x600_2x_obcr-t4.jpg 459 500 N 16211 3510 product 19692 M 0 19692
0 Flaschendruckminderer_Vulkan_F60-200_600x600_2x_7e53-ro.jpg 459 500 N 16357 3656 product 19838 M 0 19838
0 1497608585-4196-1_600x600_2x_kx26-rx.jpg 459 500 N 16373 3672 product 19854 M 0 19854
0 1497608585-4196-1_600x600_2x_q86a-sy.jpg 459 500 N 16374 3673 product 19855 M 0 19855
0 1497608585-4196-1_600x600_2x_ld8g-qi.jpg 459 500 N 16375 3674 product 19856 M 0 19856
0 1497608585-4196-1_600x600_2x.jpg 459 500 N 16971 4270 product 20452 M 0 20452
0 Druckminderer-Vulkan-F-20-200-Effect-Sauerstoff-2_600x600_2x_cfpr-bw.jpg 500 494 N 17388 4687 product 20869 M 0 20869
0 Druckminderer-Vulkan-F-20-200-Effect-Sauerstoff-2_600x600_2x_7pqm-du.jpg 500 494 N 17389 4688 product 20870 M 0 20870
0 Druckminderer-Vulkan-F-20-200-Effect-Sauerstoff-2_600x600_2x_trov-04.jpg 500 494 N 17390 4689 product 20871 M 0 20871
0 Druckminderer-Vulkan-F-20-200-Effect-Sauerstoff-2_600x600_2x_nind-6h.jpg 500 494 N 17391 4690 product 20872 M 0 20872
0 Druckminderer-Vulkan-F-20-200-Effect-Sauerstoff-2_600x600_2x_x0uh-vx.jpg 500 494 N 17392 4691 product 20873 M 0 20873