SELECT 
  cscart_images_links.*, 
  cscart_images.image_path, 
  cscart_common_descriptions.description AS alt, 
  cscart_images.image_x, 
  cscart_images.image_y, 
  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 = 'A' 
  AND cscart_images_links.object_id IN (
    10705, 10195, 10670, 9457, 8862, 11485, 
    10960, 10172, 10201, 10945, 397, 10188
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00300

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE cscart_images_links range object_id object_id 81 36 Using index condition; Using filesort
1 SIMPLE cscart_images eq_ref PRIMARY PRIMARY 3 mahm3t_cs443.cscart_images_links.detailed_id 1 Using where
1 SIMPLE cscart_common_descriptions eq_ref PRIMARY PRIMARY 107 mahm3t_cs443.cscart_images.image_id,const,const 1 Using where

Result

pair_id object_id object_type image_id detailed_id type position emo_md5 image_path alt image_x image_y images_image_id
1962 397 product 0 1908 A 0 PTP_03.jpg 567 378 1908
12444 8862 product 0 8348 A 0 velux_gll-1.jpg 1024 768 8348
12445 8862 product 0 8349 A 0 1.png 1347 909 8349
12476 8862 product 0 8382 A 0 2.png 1242 888 8382
12477 8862 product 0 8383 A 0 okno-3-szybowe-GLL.jpg 2500 1875 8383
12478 8862 product 0 8384 A 0 Okno-dachowe-Velux-GLL-scaled.jpg 2243 2560 8384
12479 8862 product 0 8385 A 0 Velux-ThermoTechnology.jpg 2500 1875 8385
12480 8862 product 0 8386 A 0 119054-01-XXL_7ooc-gc.jpg 2500 1875 8386
12481 8862 product 0 8387 A 0 Drewniane-okno-dachowe-VELUX-z-markiza.jpg 2500 1277 8387
12482 8862 product 0 8388 A 0 velux-gll-1064.jpg 1280 960 8388
12483 8862 product 0 8389 A 0 118564-01-XXL.jpg 768 876 8389
12484 8862 product 0 8390 A 0 118566-01-XXL.jpg 768 876 8390
27489 10172 product 0 23064 A 0 118584-01-L.jpg 1024 768 23064
27490 10172 product 0 23065 A 0 ID10161764_XXL.jpg 1280 958 23065
27669 10201 product 0 23244 A 0 ptp_v_02138827980652bf77fe5e535.jpg 800 534 23244
31553 10188 product 0 27131 A 0 FTP-V-packshot-02_1_7_ujom-60.jpg 1000 1000 27131
31635 10670 product 0 27213 A 0 0008_skyfens-supro-triple-termo.jpg 1900 1526 27213
31982 10945 product 0 27560 A 0 Inside_view_GBL.png 542 562 27560
32484 10195 product 0 28062 A 0 opl_tlv_001__3_.jpg 1000 784 28062
32503 9457 product 0 28081 A 0 Okno_dachowe_RoofLITE__Trio_Pine_trzyszybowe_drewniane_78x118_cm_3.jpg 2000 2000 28081
32522 10705 product 0 28100 A 0 opti_pro_expl.jpg 1078 1100 28100
32666 11485 product 0 28244 A 0 FTP-V-U41-GreenView-cross-section-01-strzalka-2-www-scaled.jpg 2560 1705 28244
32667 11485 product 0 28245 A 0 FTP-_-GreenView-06-www-e1741951134867__1_.jpg 2048 1265 28245
32668 11485 product 0 28246 A 0 FTP-_-GreenView-detail-07-www.jpg 2048 1365 28246
32669 11485 product 0 28247 A 0 FTP-_-GreenView-detail-13-www-e1741951042516__1_.jpg 2048 1265 28247
32670 11485 product 0 28248 A 0 FTP-V-U41-GreenView-detail-15-www.jpg 2048 1265 28248
32678 10960 product 0 28256 A 0 PTP-V_P50_GreenView_packshot_02.jpg 3024 2160 28256
1077 397 product 0 1054 A 1 okno-dachowe-fakro-ptp-u3-6.jpg 848 1271 1054
27611 10188 product 0 23186 A 1 fakro_ftpv_01.jpg 600 404 23186
27650 10195 product 0 23225 A 1 opl_tlv_003.jpg 2048 1761 23225
27670 10201 product 0 23245 A 1 PTP-detail-01_1_6.jpg 1000 1000 23245
31842 10705 product 0 27420 A 1 OptiLight_D_Pro_wew_białe_tło_detal_dół__WWW_.jpg 2048 1365 27420
32005 10945 product 0 27583 A 1 Inside_view2_GBL.jpg 801 800 27583
32504 9457 product 0 28082 A 1 Okno_dachowe_RoofLITE__Trio_Pine_trzyszybowe_drewniane_78x118_cm_1.jpg 2000 2000 28082
32672 10960 product 0 28250 A 1 PTP-V_GreenView_packshot_2023_02__www_.jpg 4774 3183 28250
1963 397 product 0 1909 A 2 okno-dachowe-fakro-ptp-u3-7.jpg 848 848 1909
27668 10201 product 0 23243 A 2 PTP-15_1_3.jpg 1000 1000 23243
29372 9457 product 0 24949 A 2 okno__OKNA_drewniane_dachowe_połaciowe_TRIO_pine_78x118_78x140_roofLITE__z_66x118_do_gruba_LIFESTYLE3.jpg 1920 1080 24949
31554 10188 product 0 27132 A 2 FTP-V-U4-02_1_1.jpg 1000 1000 27132
31630 10670 product 0 27208 A 2 Supro-Triple-Termo-Przekroj-02.png 595 737 27208
31836 10705 product 0 27414 A 2 OptiLight_D_Pro_005__www_.jpg 2048 1803 27414
31985 10945 product 0 27563 A 2 Glass-to-the-edge.png 591 670 27563
32509 10195 product 0 28087 A 2 TLP-V_U4_IMG_2269__www_.jpg 2048 2048 28087
32673 10960 product 0 28251 A 2 PTP-V_GreenView_U41_cross-section_01_strzałka__print_.jpg 2700 2160 28251
27671 10201 product 0 23246 A 3 ptp_04_c2jc-2u.jpg 600 424 23246
29368 9457 product 0 24945 A 3 atr_trio_001.jpg 1152 648 24945
31217 397 product 0 26795 A 3 okno-dachowe-fakro-ptp-u3.jpg 848 1272 26795
31555 10188 product 0 27133 A 3 FTP-V-U4-04_1_2_lxo3-0f.jpg 1000 1000 27133
31631 10670 product 0 27209 A 3 Supro-Triple-Termo-Przekroj-01.png 1440 1920 27209
31834 10705 product 0 27412 A 3 OptiLight_D_Pro_001__www_.jpg 1947 2048 27412
32006 10945 product 0 27584 A 3 Windows_on_roof_GBL.png 811 405 27584
32480 10172 product 0 28058 A 3 ID10163459_XXL.jpg 1280 853 28058
32508 10195 product 0 28086 A 3 TLP_U4__print_.jpg 2700 1800 28086
32674 10960 product 0 28252 A 3 PTP-V_GreenView_03__www___1_.jpg 2048 1365 28252
27494 10172 product 0 23069 A 4 119162-01-XXL.jpg 1024 768 23069
27672 10201 product 0 23247 A 4 ptp_06138827980652bf77fe6dff1.jpg 600 600 23247
31556 10188 product 0 27134 A 4 FTP-V-U4-07_1_1_1clw-d2.jpg 1000 1000 27134
31632 10670 product 0 27210 A 4 02-skyfens-supro-triple-termo.png 1621 1800 27210
31837 10705 product 0 27415 A 4 OptiLight_D_Pro_białe_tło_zew__WWW_.jpg 1365 2048 27415
31986 10945 product 0 27564 A 4 Water_flow_GBL.png 454 226 27564
32501 9457 product 0 28079 A 4 Okno_dachowe_RoofLITE__klamka.png 1920 1080 28079
32510 10195 product 0 28088 A 4 TLP_AUB_03__print_.jpg 2700 1803 28088
32675 10960 product 0 28253 A 4 PTP-V_GreenView_cross-section_01__www_.jpg 3070 4605 28253
27495 10172 product 0 23070 A 5 118936-01-XXL.jpg 768 1024 23070
27632 10195 product 0 23207 A 5 TLP_01__www_.jpg 1000 667 23207
31557 10188 product 0 27135 A 5 FTP-V-U4-08_1_1.jpg 1000 1000 27135
31628 10670 product 0 27206 A 5 09-skyfens-supro-triple-termo.png 1200 1800 27206
31839 10705 product 0 27417 A 5 OptiLight_D_Pro_DETAL_007__www_.jpg 2048 1366 27417
32502 9457 product 0 28080 A 5 Okno_dachowe_RoofLITE__szyba_hartowana,_powłoka_niskoemisyjna.png 1920 1080 28080
32676 10960 product 0 28254 A 5 PTP-V_GreenView_cross-section_02__www_.jpg 3648 5472 28254
27496 10172 product 0 23071 A 6 119134-01-XXL.jpg 1024 768 23071
27647 10195 product 0 23222 A 6 opl_tlv_002.jpg 1015 2048 23222
31558 10188 product 0 27136 A 6 FTP-V-36_1_1.jpg 1000 1000 27136
31838 10705 product 0 27416 A 6 OptiLight_D_Pro_DETAL_006__www_.jpg 2048 1365 27416
32505 9457 product 0 28083 A 6 Okno_dachowe_RoofLITE__Trio_Pine_trzyszybowe_drewniane_78x118_cm_4.png 2000 2000 28083
32677 10960 product 0 28255 A 6 PTP-V_P50_GREENVIEW_03__www_.jpg 2048 1536 28255
27497 10172 product 0 23072 A 7 119151-01-XXL.jpg 1024 682 23072
31210 10195 product 0 26788 A 7 optilight-tlp-2.jpg 2074 1555 26788
31559 10188 product 0 27137 A 7 FTP-V-38_1_1_zuzo-4i.jpg 1000 1000 27137
31634 10670 product 0 27212 A 7 04-skyfens-supro-triple-termo.png 1490 1800 27212
31823 10705 product 0 27401 A 7 OptiLight02.jpg 2565 1710 27401
32506 9457 product 0 28084 A 7 okno__OKNA_drewniane_dachowe_połaciowe_solid_pine_78x118_78x140_roofLITE__z_66x118_do_gruba_USZCZELKA.jpg 1920 1080 28084
27498 10172 product 0 23073 A 8 119057-01-XXL.jpg 1024 768 23073
27612 10188 product 0 23187 A 8 fakro_ftpv_02.jpg 600 420 23187
31208 10195 product 0 26786 A 8 optilight-tlp-8.jpg 2074 1555 26786
31826 10705 product 0 27404 A 8 optilight_galeria4.jpg 622 933 27404
32507 9457 product 0 28085 A 8 okno-dachowe-RoofLITE-drewniane-oblachowanie-szare-uszczelka-z-epdm_hoop-h6.png 5184 3456 28085
27499 10172 product 0 23074 A 9 119213-01-XXL.jpg 768 1024 23074
27613 10188 product 0 23188 A 9 fakro_ftpv_03138551024352953563889a6.jpg 600 419 23188
31209 10195 product 0 26787 A 9 optilight-tlp-5.jpg 2074 1290 26787
31827 10705 product 0 27405 A 9 optilight_galeria1.jpg 853 1280 27405
27614 10188 product 0 23189 A 10 fakro_ftpv_04138551024352953563922e0.jpg 600 435 23189
27636 10195 product 0 23211 A 10 optilight_tlp_on_pallet_dzex-ia.jpg Kunstoff Dachfenster OptiLght TLP auf Palette 645 814 23211
31828 10705 product 0 27406 A 10 optilight_galeria3.jpg 961 1280 27406
27615 10188 product 0 23190 A 11 fakro_ftpv_0513855102435295356399505.jpg 424 600 23190
27637 10195 product 0 23212 A 11 optilight_kombi_s1fi-h0.jpg 450 640 23212
31829 10705 product 0 27407 A 11 optilight_b_02.jpg 396 500 27407
27616 10188 product 0 23191 A 12 fakro_ftpv_061385510243529535639f4f7.jpg 600 424 23191
27638 10195 product 0 23213 A 12 optilight_ral-7022.png 773 374 23213
31832 10705 product 0 27410 A 12 optilight_galeria2_u4lg-z3.jpg 622 933 27410
27617 10188 product 0 23192 A 13 fakro_ftpv_07138551024352953563a4ec4.jpg 424 600 23192
31830 10705 product 0 27408 A 13 optilight_ral-7022_wuwm-5w.png 773 374 27408