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 (
    8299, 8369, 9877, 8277, 8720, 9868, 9876, 
    8370, 8363, 9820, 8285, 9482
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00175

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 23 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
11182 8299 product 0 7997 A 0 stegu_monsanto_001.png 300 220 7997
13345 9820 product 0 8932 A 0 stegu_timber_ev4i-gz_jm5p-1u.png 499 128 8932
25185 9877 product 0 20772 A 0 stegu_nepal_0a.PNG 598 206 20772
25846 8299 product 0 21421 A 0 Monstanto-Inspiration-2.jpg 1000 562 21421
25864 9877 product 0 21439 A 0 stegu_nepal_0b_oacm-bm.PNG 694 168 21439
26858 8285 product 0 22433 A 0 venezia_p_ci61-y3.png 961 370 22433
26859 8285 product 0 22434 A 0 venezia_n_lbbm-7m.png 1208 535 22434
26954 8720 product 0 22529 A 0 parma_n.png 1117 351 22529
26970 8720 product 0 22545 A 0 parma1_01_7xog-xz.jpg 1920 1080 22545
26971 8720 product 0 22546 A 0 parma1_02_wchq-n1.jpg 1920 1080 22546
26972 8720 product 0 22547 A 0 parma1_03_4l7c-45.jpg 1920 1080 22547
26973 8720 product 0 22548 A 0 parma1_04_81wb-s8.jpg 1920 1080 22548
26974 8720 product 0 22549 A 0 parma1_05_5ioe-o2.jpg 1920 1080 22549
26975 8720 product 0 22550 A 0 parma1_06_ev03-bx.jpg 1920 1080 22550
26976 8720 product 0 22551 A 0 parma1_07_28ak-yx.jpg 1920 1080 22551
26978 8720 product 0 22553 A 0 parma1_08_5brj-gn.png 790 596 22553
27055 9482 product 0 22630 A 0 boston_p_mnd1-rq.png 984 378 22630
27056 9482 product 0 22631 A 0 boston_n_u5xx-49.png 1238 347 22631
27082 9868 product 0 22657 A 0 nero_bianco_p_t06a-vn.png 946 414 22657
27085 8363 product 0 22660 A 0 ivory_rusty_grey_p_859k-jz.png 975 405 22660
27086 9868 product 0 22661 A 0 bianco1.jpg 1920 1080 22661
27087 8363 product 0 22662 A 0 grey1.jpg 1920 1080 22662
27088 8363 product 0 22663 A 0 grey2.jpg 1920 1080 22663
27985 9876 product 0 23560 A 0 new_york_1_a.jpg 1920 1080 23560
27986 9876 product 0 23561 A 0 stegu_newyork_002.jpg 301 221 23561
28277 8720 product 0 23852 A 0 stegu-parma_white-2.jpg 1920 1080 23852
28278 8720 product 0 23853 A 0 stegu-parma_white-3.jpg 1920 1080 23853
28279 8720 product 0 23854 A 0 stegu-parma_white-4.jpg 1920 1080 23854
28280 8720 product 0 23855 A 0 stegu-parma_white-5.jpg 722 1080 23855
28281 8720 product 0 23856 A 0 stegu-parma_white-6.jpg 722 1080 23856
28282 8720 product 0 23857 A 0 stegu-parma_white-7.jpg 1920 1080 23857
28318 9877 product 0 23893 A 0 stegu_nepal3_000.jpg 1152 648 23893
28319 9877 product 0 23894 A 0 stegu_nepal3_001.jpg 1152 648 23894
28320 9877 product 0 23895 A 0 stegu_nepal3_002.jpg 1152 648 23895
28321 9877 product 0 23896 A 0 stegu_nepal3_003.jpg 433 648 23896
28327 9820 product 0 23902 A 0 stegu_timber3_001.jpg 1152 648 23902
30244 9820 product 0 25821 A 0 tim3.JPG 933 929 25821
30245 9820 product 0 25822 A 0 tim3-1.JPG 935 929 25822
30246 9820 product 0 25823 A 0 tim3-2.JPG 924 935 25823
30285 9482 product 0 25862 A 0 boston2-1.jpg 1920 1080 25862
30286 9482 product 0 25863 A 0 bst2-corner.JPG 745 707 25863
31471 8285 product 0 27049 A 0 venezia-graphite-stegu-kamien-dekoracyjny.jpg 750 750 27049
31472 8285 product 0 27050 A 0 venezia_graphite.jpg 750 750 27050
31473 9482 product 0 27051 A 0 boston.jpg 474 301 27051
31700 8299 product 0 27278 A 0 mons-Verpackung_uud0-m8.JPG 373 343 27278
32282 8277 product 0 27860 A 0 creta_grey_ua3x-m9.png 4980 3606 27860
25134 9868 product 0 20721 A 1 stegu_bianco_01.jpg 1000 400 20721
26817 8277 product 0 22392 A 1 creta_p_l5dr-o5.png 962 375 22392
31470 9868 product 0 27048 A 1 bianco.jpg 408 400 27048
25918 9876 product 0 21493 A 2 stegu_country_0b_wp70-vu.PNG 694 171 21493
26818 8277 product 0 22393 A 2 creta_n_42ar-pv.png 1204 432 22393
31462 9876 product 0 27040 A 2 New-York.jpg 1920 1080 27040
26824 8277 product 0 22399 A 3 creta3_01_yspm-wt.png 564 645 22399
30221 8277 product 0 25798 A 4 CRT3.JPG 913 599 25798
30222 8277 product 0 25799 A 5 CRT3-1.JPG 1015 567 25799
31469 8277 product 0 27047 A 6 Kamien-dekoracyjny-Stegu-CRETA-wewnetrzny-Plytka-EAN-5907762303965.jpg 1200 800 27047