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 (
    10353, 8875, 9968, 8869, 526, 10355, 
    8886, 9838, 8891, 10211, 706, 10222
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00188

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 25 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
1945 706 product 0 1890 A 0 xdk_02.jpg 500 286 1890
12576 8875 product 0 8496 A 0 116278-01-L140448495253b6bd5870388.jpg 1280 960 8496
12608 8891 product 0 8533 A 0 VELUX_GPU_005140448588753b6c0ff0e2fb.jpg 1024 768 8533
12609 8891 product 0 8534 A 0 VELUX_GPU_006140448588753b6c0ff18c2e.jpg 1024 682 8534
12610 8891 product 0 8535 A 0 VELUX_GPU_003140448588753b6c0ff2337e.jpg 1024 768 8535
12611 8891 product 0 8536 A 0 VELUX_GPU_001140448588753b6c0ff2d8e7.jpg 1024 768 8536
12612 8891 product 0 8537 A 0 VELUX_GPU_002140448588753b6c0ff38908.jpg 768 1024 8537
12636 8869 product 0 8566 A 0 115230-01-XXL_c24r-q8.jpg 1280 960 8566
12637 8869 product 0 8567 A 0 velux_ggl_3073_04140519158253c1859e6f61b.jpg 550 367 8567
13556 9838 product 0 9143 A 0 velux_RHL_000.jpg 733 350 9143
13557 9838 product 0 9144 A 0 velux_RHL_001.jpg 733 350 9144
13558 9838 product 0 9145 A 0 velux_RHL_002.jpg 733 350 9145
25100 9838 product 0 20687 A 0 velux_rhl_003.jpg 1280 458 20687
25101 9838 product 0 20688 A 0 velux_rhl_004.jpg 1280 458 20688
26125 8869 product 0 21700 A 0 121597-01-L_61ag-0e.jpg 1280 960 21700
27738 10211 product 0 23313 A 0 VELUX_GPU_005140448598953b6c16574b1c.jpg 1024 768 23313
27739 10211 product 0 23314 A 0 VELUX_GPU_002140448598953b6c1657d072.jpg 768 1024 23314
27740 10211 product 0 23315 A 0 VELUX_GPU_006140448598953b6c1658576f.jpg 1024 682 23315
27741 10211 product 0 23316 A 0 VELUX_GPU_003140448598953b6c1658e024.jpg 1024 768 23316
27742 10211 product 0 23317 A 0 VELUX_GPU_001140448598953b6c16596a24.jpg 1024 768 23317
28074 10222 product 0 23649 A 0 Roto-Designo-Drewniane_gqks-jj.jpg 603 514 23649
28081 10222 product 0 23656 A 0 roto_d79h_002.jpg 700 549 23656
30932 526 product 0 26510 A 0 rooflite_pvc_trio_.jpg 900 900 26510
31289 10355 product 0 26867 A 0 fakro_pakiet_u4.png 210 255 26867
31560 10353 product 0 27138 A 0 FTU-V-packshot-01_1_14_54x2-58.jpg 1000 1000 27138
12578 8875 product 0 8498 A 1 115326-01-XXL140448495253b6bd5884715.jpg 2500 1875 8498
28260 10353 product 0 23835 A 1 fakro_pakiet_u4.png 210 255 23835
32511 526 product 0 28089 A 1 okno__OKNA_PLASTIKOWE_PCV_dachowe_połaciowe_TRIO_PVC_TRZYSZYBOWE_78x118_78x140_roofLITE__z_66x118_3_SZYBY_7.jpg 2000 2000 28089
12579 8875 product 0 8499 A 2 115405-01-XXL140448495253b6bd588d07e.jpg 2500 1875 8499
12647 8886 product 0 8579 A 2 VELUX_GGU_Integra_03140520009253c1a6dce8aad.jpg 600 400 8579
28075 10222 product 0 23650 A 2 roto_d79h_003.jpg 372 515 23650
31270 10353 product 0 26848 A 2 okno-dachowe-ftp-v-secure-3.jpg 848 1199 26848
32512 526 product 0 28090 A 2 okno__OKNA_PLASTIKOWE_PCV_dachowe_połaciowe_TRIO_PVC_TRZYSZYBOWE_78x118_78x140_roofLITE__z_66x118_3_SZYBY_21.jpg 497 637 28090
12580 8875 product 0 8500 A 3 115492-01-XXL140448495253b6bd5895815.jpg 2500 1875 8500
12642 8886 product 0 8573 A 3 VELUX_GGU_001140519960353c1a4f398241.jpg 932 768 8573
28076 10222 product 0 23651 A 3 roto_d79h_004.jpg 710 764 23651
31271 10353 product 0 26849 A 3 FTP-V-10-e1540555573385.jpg 800 530 26849
31310 526 product 0 26888 A 3 okno-dachowe-rooflite-trio-pvc.png 1749 2000 26888
12582 8875 product 0 8502 A 4 119612-01-XXL140448495253b6bd58a6d01.jpg 2500 1875 8502
12643 8886 product 0 8574 A 4 VELUX_GGU_003140519960353c1a4f3a15d4.jpg 1024 768 8574
26118 8886 product 0 21693 A 4 115230-01-XXL_lvyi-1z.jpg 1280 960 21693
31272 10353 product 0 26850 A 4 FTP-V-09-e1540555610552.jpg 800 533 26850
31312 526 product 0 26890 A 4 okno-dachowe-rooflite-trio-pvc-6.png 550 500 26890
12577 8875 product 0 8497 A 5 119580-01-XXL140448495253b6bd587ad42.jpg 2500 1896 8497
31273 10353 product 0 26851 A 5 FTP-V-06-e1540555681916.jpg 800 1200 26851
31311 526 product 0 26889 A 5 okno-dachowe-rooflite-trio-pvc-2.png 550 500 26889
12581 8875 product 0 8501 A 6 112136-01-XXL.jpg 2500 1875 8501
29381 526 product 0 24958 A 6 trio_103.png 550 500 24958
31274 10353 product 0 26852 A 6 fakro_ftpv_061385510326529535b6b7be0.jpg 600 424 26852
29380 526 product 0 24957 A 7 trio_102.png 550 500 24957
31561 10353 product 0 27139 A 7 FTU-V-U5-03_1_5_vkni-ve.jpg 1000 1000 27139
31313 526 product 0 26891 A 8 okno-dachowe-rooflite-trio-pvc-5.png 550 500 26891
31562 10353 product 0 27140 A 8 okno-dachowe-fakro-ftu-v.jpg 848 1272 27140
29370 526 product 0 24947 A 9 TRIO_PVC_2.png 1920 1080 24947
31563 10353 product 0 27141 A 9 FTU-V-05_1_1_sc2o-hu.jpg 1000 1000 27141
29369 526 product 0 24946 A 10 atr_trio_002.jpg 1152 648 24946
31564 10353 product 0 27142 A 10 okno-dachowe-fakro-ftu-v-10.jpg 848 565 27142
31565 10353 product 0 27143 A 11 okno-dachowe-fakro-ftu-v-8.jpg 848 565 27143
31566 10353 product 0 27144 A 12 okno-dachowe-fakro-ftu-v-7.jpg 848 575 27144
31567 10353 product 0 27145 A 13 okno-dachowe-fakro-ftu-v-6.jpg 848 565 27145
31568 10353 product 0 27146 A 14 okno-dachowe-fakro-ftu-v-5.jpg 848 565 27146
31569 10353 product 0 27147 A 15 okno-dachowe-fakro-ftu-v-4.jpg 848 1272 27147
31570 10353 product 0 27148 A 16 okno-dachowe-fakro-ftu-v-3.jpg 848 565 27148
31571 10353 product 0 27149 A 17 okno-dachowe-fakro-ftu-v-2.jpg 848 565 27149
31572 10353 product 0 27150 A 18 okno-dachowe-fakro-ftu-v-1.jpg 848 1272 27150
31573 10353 product 0 27151 A 19 FTU-V-02_y56y-zh.jpg 1514 1563 27151