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 (61692, 61695, 61699, 61531, 65454) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00113

JSON explain

{
  "query_block": {
    "select_id": 1,
    "read_sorted_file": {
      "filesort": {
        "sort_key": "cscart_images_links.position, cscart_images_links.pair_id",
        "table": {
          "table_name": "cscart_images_links",
          "access_type": "range",
          "possible_keys": ["object_id"],
          "key": "object_id",
          "key_length": "81",
          "used_key_parts": ["object_id", "object_type", "type"],
          "rows": 46,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (61692,61695,61699,61531,65454)"
        }
      }
    },
    "table": {
      "table_name": "cscart_images",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "3",
      "used_key_parts": ["image_id"],
      "ref": ["cscart_migrate.cscart_images_links.detailed_id"],
      "rows": 1,
      "filtered": 100,
      "attached_condition": "trigcond(cscart_images_links.detailed_id = cscart_images.image_id)"
    },
    "table": {
      "table_name": "cscart_common_descriptions",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "107",
      "used_key_parts": ["object_id", "lang_code", "object_holder"],
      "ref": ["cscart_migrate.cscart_images.image_id", "const", "const"],
      "rows": 1,
      "filtered": 100,
      "attached_condition": "trigcond(cscart_common_descriptions.object_id = cscart_images.image_id and cscart_common_descriptions.object_holder = 'images' and cscart_common_descriptions.lang_code = 'en' and trigcond(cscart_images.image_id is not null))"
    }
  }
}

Result

pair_id object_id object_type image_id detailed_id type position image_type show_gallery gallery_category_id image_path alt image_x image_y images_image_id
16715 61531 product 0 28282 A 0 D 0 0 chateau-cord-715-delphite-blue-CSW.jpg Chateau Food Warmer Pendant, 715-Delphite Blue, White Jacketed Cord 1000 1000 28282
16716 61531 product 0 28283 A 0 D 0 0 chateau-cord-100-black-CSB.jpg Chateau Food Warmer Pendant, 100-Black, Black Jacketed Cord 1000 1000 28283
16871 61531 product 0 28457 A 0 D 0 0 chateau-cord-200-white-CSW_dxj0-kd.jpg Chateau Food Warmer Pendant, 200-White, White Jacketed Cord 1000 1000 28457
16875 61531 product 0 28461 A 0 D 0 0 chateau-cord-307-emerald-green-CSB.jpg Chateau Food Warmer Pendant, 307-Emerald Green, Black Jacketed Cord 1000 1000 28461
17246 61692 product 0 28813 A 0 D 0 0 chateau-cord-975-galvanized-CSBG.jpg Chateau Pendant Light, 975-Galvanized, CSGW-Gold & White Cloth Cord 1000 1000 28813
64646 61531 product 0 76879 A 0 D 0 0 chateau-cord-480-blush-pink-CSW.jpg Chateau Food Warmer Pendant, 480-Blush Pink, White Jacketed Cord 1000 1000 76879
64647 61531 product 0 76880 A 0 D 0 0 chateau-cord-500-buttery-yellow_dy0p-lt.jpg Chateau Food Warmer Pendant, 500-Buttery Yellow, White Jacketed Cord 1000 1000 76880
64660 65454 product 0 76893 A 0 D 0 0 chateau-flush-mount-380-chartreuse.jpg Chateau Flush Mount, 380-Chartreuse 1000 1000 76893
64672 61699 product 0 76905 A 0 D 0 0 Chateau-Gooseneck-500-buttery-yellow-980-brushed-aluminum-G15.jpg Chateau Gooseneck Light, 500-Buttery Yellow, G15 Gooseneck Arm, 980-Brushed Aluminum 1000 1000 76905
64680 61695 product 0 76913 A 0 D 0 0 chateau-stem-975-galvanized-hang-straight-canopy.jpg Chateau Stem Mount, 975-Galvanized, Hang Straight Canopy 1000 1000 76913
17247 61692 product 0 28814 A 1 D 0 0 chateau-cord-100-black-CSBG.jpg Chateau Pendant Light, 100-Black, CSBG-Black & Gold Cloth Cord 1000 1000 28814
17253 61695 product 0 28820 A 1 D 0 0 chateau-stem-400-barn-red.jpg Chateau Stem Mount, 400-Barn Red 1000 1000 28820
64658 65454 product 0 76891 A 1 D 0 0 chateau-flush-mount-100-black.jpg Chateau Flush Mount, 100-Black 1000 1000 76891
67482 61699 product 0 79715 A 1 C 0 0 MasterBath_FullShot-residential-interior-lighting-bathroom-vanity-Chateau-Gooseneck-100-Black-G26arm.jpg Chateau Gooseneck, 100-Black, G26 Arm | Photo Courtesy of Southbound Stays 6016 4016 79715
17252 61695 product 0 28819 A 2 D 0 0 chateau-stem-200-white.jpg Chateau Stem Mount, 200-White 1000 1000 28819
64643 61692 product 0 76876 A 2 D 0 0 chateau-cord-480-blush-pink-CSBP.jpg Chateau Pendant Light, 480-Blush Pink, CSBP-Black & Pink Cloth Cord 1000 1000 76876
64662 65454 product 0 76895 A 2 D 0 0 chateau-flush-mount-480-blush-pink.jpg Chateau Flush Mount, 480-Blush Pink, Mounting in 975-Galvanized 1000 1000 76895
67481 61699 product 0 79714 A 2 C 0 0 128-residential-interior-lighting-bathroom-vanity-Chateau-Gooseneck-100-Black-G26arm.jpg Chateau Gooseneck, 100-Black, G26 Arm | Photo Courtesy of Southbound Stays 6016 4016 79714
17249 61692 product 0 28816 A 3 D 0 0 chateau-cord-400-barn-red-CRZ.jpg Chateau Pendant Light, 400-Barn Red, CRZ-Red Chevron Cord 1000 1000 28816
55542 61699 product 0 67775 A 3 C 0 0 chateau-gooseneck-light-residential-interior.JPG Chateau Gooseneck Light, 105-Textured Black, G11 Gooseneck Arm | Photo Courtesy of Homeowner 1099 1222 67775
64659 65454 product 0 76892 A 3 D 0 0 chateau-flush-mount-200-white.jpg Chateau Flush Mount, 200-White 1000 1000 76892
64678 61695 product 0 76911 A 3 D 0 0 chateau-stem-700-royal-blue.jpg Chateau Stem Mount, 700-Royal Blue 1000 1000 76911
17248 61692 product 0 28815 A 4 D 0 0 chateau-cord-200-white-CSW.jpg Chateau Pendant Light, 200-White, CSW-White Cloth Cord 1000 1000 28815
64663 65454 product 0 76896 A 4 D 0 0 chateau-flush-mount-705-navy.jpg Chateau Flush Mount, 705-Navy 1000 1000 76896
64679 61695 product 0 76912 A 4 D 0 0 chateau-stem-790-lavender-975-galvanized.jpg Chateau Stem Mount, 790-Lavender, Mounting in 975-Galvanized 1000 1000 76912
65288 61699 product 0 77521 A 4 C 0 0 IMG_2705-commercial-exterior-lighting-door-entryway-Chateau_Gooseneck-500-Buttery-Yellow-G16arm-975-Galvanized.jpg Chateau Gooseneck Light, 500-Buttery Yellow, G16 Arm, 975-Galvaized | Photo Courtesy of Homeowner 2885 3664 77521
17267 61699 product 0 28846 A 5 D 0 0 Chateau-Gooseneck-100-black-G13.jpg Chateau Gooseneck Light, 100-Black, G13 Gooseneck Arm 1000 1000 28846
60332 61695 product 0 72565 A 5 D 0 0 chateau-stem-500-buttery-yellow-100-black-Heavy-Duty-Canopy.jpg Chateau Stem Mount, 500-Buttery Yellow, Mounting in 100-Black, Heavy Duty Stem Mount Canopy 1000 1000 72565
64645 61692 product 0 76878 A 5 D 0 0 chateau-cord-715-delphite-blue-CSW.jpg Chateau Pendant Light, 715-Delphite Blue, CSW-White Cloth Cord 1000 1000 76878
64664 65454 product 0 76897 A 5 D 0 0 chateau-flush-mount-975-galvanized.jpg Chateau Flush Mount, 975-Galvanized 1000 1000 76897
64644 61692 product 0 76877 A 6 D 0 0 chateau-cord-500-buttery-yellow.jpg Chateau Pendant Light, 500-Buttery Yellow, SBK-Standard Black Cord 1000 1000 76877
64661 65454 product 0 76894 A 6 D 0 0 chateau-flush-mount-400-barn-red.jpg Chateau Flush Mount, 400-Barn Red 1000 1000 76894
64669 61699 product 0 76902 A 6 D 0 0 Chateau-Gooseneck-307-emerald-G35.jpg Chateau Gooseneck Light, 307-Emerald Green, G35 Gooseneck Arm 1000 1000 76902
57168 61692 product 0 69401 A 7 C 1 1781 chateau-pendant-teal.jpg Chateau Cord Hung Pendant, 390-Teal, SBK-Standard Black Cord | Photo Courtesy of Jean Allsopp and Birmingham Home and Garden 1500 2454 69401
64671 61699 product 0 76904 A 7 D 0 0 Chateau-Gooseneck-480-blush-pink-G4.jpg Chateau Gooseneck Light, 480-Blush Pink, G4 Straight Arm 1000 1000 76904
57166 61692 product 0 69399 A 8 C 0 0 Chateau_Cord_Hung_Pendant_-_Barn_Light_Electric_-_Back_Porch_Design_Lighting.jpg Chateau Cord Hung Pendant, 200-White, SBK-Standard Black Cord | Photo Courtesy of Engler Studio Interior Design @englerstudio 2400 1600 69399
64673 61699 product 0 76906 A 8 D 0 0 Chateau-Gooseneck-975-galvanized-G11.jpg Chateau Gooseneck Light, 975-Galvanized, G11 Gooseneck Arm 1000 1000 76906
17268 61699 product 0 28847 A 9 D 0 0 Chateau-Gooseneck-200-white-G1.jpg Chateau Gooseneck Light, 200-White, G1 Straight Arm 1000 1000 28847
57167 61692 product 0 69400 A 9 C 0 0 Chateau_Cord_Hung_Pendant_-_Barn_Light_Electric_-_Porch_Decor_Design.jpg Chateau Cord Hung Pendant, 200-White, SBK-Standard Black Cord | Photo Courtesy of Engler Studio Interior Design @englerstudio 2400 1600 69400
50711 61692 product 0 62944 A 10 C 0 0 IMG_6253.jpg Chateau Cord Hung Pendant, 400-Barn Red, SBK-Standard Black Cord 3024 4032 62944
64670 61699 product 0 76903 A 10 D 0 0 Chateau-Gooseneck-400-barn-red-G22.jpg Chateau Gooseneck Light, 400-Barn Red, G22 Gooseneck Arm 1000 1000 76903
50712 61692 product 0 62945 A 11 C 0 0 IMG_6252.jpg Chateau Cord Hung Pendant, 400-Barn Red, SBK-Standard Black Cord 3024 4032 62945
65289 61699 product 0 77522 A 11 C 0 0 IMG_2704-commercial-exterior-lighting-door-entryway-Chateau_Gooseneck-500-Buttery-Yellow-G16arm-975-Galvanized.jpg Chateau Gooseneck Light, 500-Buttery Yellow, G16 Arm, 975-Galvaized | Photo Courtesy of Homeowner 3024 4032 77522
69180 61692 product 0 81413 A 11 C 0 0 230907_7506-commercial-interior-lighting-office-hospital-Chateau-Pendant-Light-100-Black-SWH.jpg Chateau Cord Hung Pendant, 100-Black, Standard White Cord | Photo Courtesy of Island Studio Productions 3840 2563 81413
69181 61692 product 0 81414 A 11 C 0 0 230907_7459-commercial-interior-lighting-office-hospital-Chateau-Pendant-Light-100-Black-SWH.jpg Chateau Cord Hung Pendant, 100-Black, Standard White Cord | Photo Courtesy of Island Studio Productions 3840 2563 81414
67483 61699 product 0 79716 A 12 C 0 0 int_66-residential-interior-lighting-bathroom-vanity-Chateau-Gooseneck-100-Black-G26arm.jpg Chateau Gooseneck, 100-Black, G26 Arm | Photo Courtesy of Southbound Stays 6016 4016 79716