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 (60138, 62358, 62426, 62449) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00101

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": 43,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (60138,62358,62426,62449)"
        }
      }
    },
    "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
21637 62426 product 0 33518 A 0 D 0 0 Wallaby-cord-14in-100-black-390-teal-CSBG-RIB.jpg 14" Wallaby LED, 100-Black, Guard in 390-Teal, RIB-Ribbed Glass, CSBG-Black & Gold Cloth Cord 1000 1000 33518
65238 62358 product 0 77471 A 0 D 0 0 industrial-guard-cord-warehouse-715-delphite-TGG-FST-CSBW.jpg Industrial Guard LED Pendant Light, 715-Delphite, TGG-Heavy Duty Cast Guard, FST-Frosted Glass, CSBW-Black & White Cloth Cord 1000 1000 77471
65769 60138 product 0 78002 A 0 D 0 0 fargo-spoke-top-pendant-400-barn-red-TRD.jpg Fargo Pendant, 400-Barn Red, Cup with Arms and Turn Key Switch, TDR-Red Cotton Twist Cord 1000 1000 78002
66200 62426 product 0 78433 A 0 D 0 0 Wallaby-cord-full-build-12in-805-charcoal-granite-400-barn-red-CRD-CLR_ic0w-9q.jpg 12" Wallaby LED, 805-Charcoal Granite, With Cap Option, Guard in 400-Barn Red, CSR-Red Cloth Cord, CLR-Clear Glass 1000 1000 78433
66201 62426 product 0 78434 A 0 D 0 0 Wallaby-cord-14in-200-white-100-black-CSBW-RIB.jpg 14" Wallaby LED, 200-White, With Cap Option, Guard in 100-Black, RIB-Ribbed Glass, CSBW-Black & White Cloth Cord 1000 1000 78434
66202 62426 product 0 78435 A 0 D 0 0 Wallaby-cord-12in-700-royal-blue-CLR-CSUW.jpg 12" Wallaby LED, 700-Royal Blue, CLR-Clear Glass, CSUW-Blue & White Cloth Cord 1000 1000 78435
66203 62426 product 0 78436 A 0 D 0 0 Wallaby-cord-16in-500-buttery-yellow-700-royal-blue-CSUW-CLR_0xsk-62.jpg 16" Wallaby LED, 500-Buttery Yellow, Guard in 700-Royal Blue, CLR-Clear Glass, CSUW-Blue & White Cloth Cord 1000 1000 78436
66204 62426 product 0 78437 A 0 D 0 0 Wallaby-cord-14in-400-barn-red-CLR-CRZ_h527-b5.jpg 14" Wallaby LED, 400-Barn Red, CLR-Clear Glass, CRZ-Red Chevron Cord 1000 1000 78437
66205 62426 product 0 78438 A 0 D 0 0 Wallaby-cord-16in-311-delphite-RIB-CSW_y54w-v9.jpg 16" Wallaby LED, 311-Jadite, RIB-Ribbed Glass, CSW-White Cloth Cord 1000 1000 78438
67220 62449 product 0 79453 A 0 D 0 0 BREWSTER-106-Matte-Black-FST-SBK.jpg Brewster Pendant Light, 106-Matte Black, FST-Frosted Glass, SBK-Standard Black Cord 1000 1000 79453
21395 62358 product 0 33276 A 1 D 0 0 industrial-guard-cord-topless-975-galvanized-CGG-FST-CSB.jpg Industrial Guard LED Pendant Light, 975-Galvanized, Topless Shade, CGG-Standard Cast Guard, FST-Frosted Glass, CSB-Black Cloth Cord 1000 1000 33276
65772 60138 product 0 78005 A 1 D 0 0 fargo-spoke-top-pendant-997-raw-brass-100-black-CSBG.jpg Fargo Pendant, 997-Natural Raw Brass, Wire Cage in 100-Black, Cup in 100-Black, No Arms with Turn Key Switch, CSBG-Black & Gold Cloth Cord 1000 1000 78005
67227 62449 product 0 79460 A 1 D 0 0 BREWSTER-997-brass-100-black-FST-CSBG.jpg Brewster Pendant Light, 997-Natural Raw Brass, FST-Frosted Glass, CSBG-Black & Gold Cloth Cord, Canopy in 100-Black 1000 1000 79460
32109 62358 product 0 44342 A 2 D 0 0 full-build-industrial-guard-cord-100-black-CGG-CLR-CSB.jpg Industrial Guard LED Pendant Light, 100-Black, Flared Shade, CGG-Standard Cast Guard, CLR-Clear Glass, CSB-Black Cloth Cord 1000 1000 44342
65766 60138 product 0 77999 A 2 D 0 0 fargo-spoke-top-pendant-200-white-100-black-TBW.jpg Fargo Pendant, 200-White, Cup in 100-Black, With Arms and Turn Key Switch, TBW-Black & White Cotton Twist Cord 1000 1000 77999
67222 62449 product 0 79455 A 2 D 0 0 BREWSTER-400-Barn-Red-FST-CRZ.jpg Brewster Pendant Light, 400-Barn Red, FST-Frosted Glass, CRZ-Red Chevron Cord 3840 3840 79455
32108 62358 product 0 44341 A 3 D 0 0 industrial-guard-cord-topless-705-navy-blue-CGG-CLR-CSGW_w9by-fe.jpg Industrial Guard LED Pendant Light, 705-Navy, Topless Shade, CGG-Standard Cast Guard, CLR-Clear Glass, CSGW-Gold & White Cloth Cord 1000 1000 44341
65771 60138 product 0 78004 A 3 D 0 0 fargo-spoke-top-pendant-700-royal-CSUW.jpg Fargo Pendant, 700-Royal Blue, Cup with Arms and Paddle Switch, CSUW-Blue & White Cloth Cord 1000 1000 78004
67226 62449 product 0 79459 A 3 D 0 0 BREWSTER-975-galvanized-CLR-CSW.jpg Brewster Pendant Light, 975-Galvanized, CLR-Clear Glass, CSW-White Cloth Cord 1000 1000 79459
65237 62358 product 0 77470 A 4 D 0 0 industrial-guard-cord-warehouse-500-buttery-yellow-CGG-RIB.jpg Industrial Guard LED Pendant Light, 500-Buttery Yellow, CGG-Standard Cast Guard, RIB-Ribbed Glass, CSUW-Blue & White Cloth Cord 1000 1000 77470
65770 60138 product 0 78003 A 4 D 0 0 fargo-spoke-top-pendant-480-blush-pink-975-galvanized-CSBP.jpg Fargo Pendant, 480-Blush Pink, Cup in 975-Galvanized, No Arms with Paddle Switch, CSBP-Black & Pink Cloth Cord 1000 1000 78003
67223 62449 product 0 79456 A 4 D 0 0 BREWSTER-500-buttery-yellow-RIB-CSUW.jpg Brewster Pendant Light, 500-Buttery Yellow, RIB-Ribbed Glass, CSUW-Blue & White Cloth Cord 1000 1000 79456
32107 62358 product 0 44340 A 5 D 0 0 industrial-guard-cord-flared-WGG-200-white-FST-CSW_77dx-8i.jpg Industrial Guard LED Pendant Light, 200-White, Flared Shade, WGG-Wire Guard, FST-Frosted Glass, CSW-White Cloth Cord 1000 1000 44340
65768 60138 product 0 78001 A 5 D 0 0 fargo-spoke-top-pendant-307-emerald-green-CSBB.jpg Fargo Pendant, 307-Emerald Green, Cup with Arms and No Switch, CSBB-Black & Brown Cloth Cord 1000 1000 78001
67221 62449 product 0 79454 A 5 D 0 0 BREWSTER-200-white-RIB-SWH.jpg Brewster Pendant Light, 200-White, RIB-Ribbed Glass, SWH-Standard White Cord 1000 1000 79454
21392 62358 product 0 33273 A 6 D 0 0 industrial-guard-cord-topless-307-emerald-green-CGG-FST-CSBB.jpg Industrial Guard LED Pendant Light, 307-Emerald Green, Topless Shade, CGG-Standard Cast Guard, FST-Frosted Glass, CSBB-Black & Brown Cloth Cord 1000 1000 33273
65767 60138 product 0 78000 A 6 D 0 0 fargo-spoke-top-pendant-200-white-TWH.jpg Fargo Pendant, 200-White, Cup with No Arms, and No Switch, TWH-White Cotton Twist Cord 1000 1000 78000
67224 62449 product 0 79457 A 6 D 0 0 BREWSTER-600-Bronze-FST-CSBB.jpg Brewster Pendant Light, 600-Bronze, FST-Frosted Glass, CSBB-Black & Brown Cloth Cord 1000 1000 79457
60778 60138 product 0 73011 A 7 C 0 0 Fargo_Pendant_Light_-_200_White_Barn_Light_Electric_-_Hallway_Lighting.jpg Fargo Pendant, 200-White, Cup in 100-Black, Turn Key Switch, SBK-Standard Black Cord | Photo Courtesy of Lara Anderson (@3nutshells) and Klugmann Media 1500 1000 73011
67225 62449 product 0 79458 A 7 D 0 0 BREWSTER-715-Delphite-RIB-CSBW.jpg Brewster Pendant Light, 715-Delphite, RIB-Ribbed Glass, CSBW-Black & White Cloth Cord 1000 1000 79458
56901 60138 product 0 69134 A 8 C 0 0 Fargo_Pendant_Light_-_Barn_Light_Electric_-_995_Raw_Copper_Kitchen_Pendant_Lighting.jpg Fargo Pendant, 995-Natural Raw Copper, Cup in 975-Galvanized, Arms with Paddle Switch, CSBW-Black & White Cloth, Ceiling Canopy in 100-Black | Photo Courtesy of Homeowner 1500 1141 69134
62790 62449 product 0 75023 A 8 C 0 0 image0-residential-interior-kitchen-Brewster_Pendant_Light_998-Weathered-Brass_100-Black_cotton-twist_Clear-Glass.jpeg Brewster Pendant Light, 998-Natural Weathered Brass, TBK-Black Cotton Twist Cord, Ceiling Canopy in 100-Black, CLR-Clear Glass 1254 1672 75023
60299 60138 product 0 72532 A 9 C 0 0 Fargo_Pendant_Light_-_995_Natural_Raw_Copper_Barn_Light_Electric_-_Interior_Design_Dining_Room_Lighting.jpg Fargo Pendant, 995-Raw Copper, Cup in 100-Black, No Arms and No Switch, SBK-Standard Black Cord | Photo Courtesy of Customer 1500 1000 72532
62791 62449 product 0 75024 A 9 C 0 0 image1-residential-interior-kitchen-Brewster_Pendant_Light_998-Weathered-Brass_100-Black_cotton-twist_Clear-Glass.jpeg Brewster Pendant Light, 998-Natural Weathered Brass, TBK-Black Cotton Twist Cord, Ceiling Canopy in 100-Black, CLR-Clear Glass 1254 1672 75024
48375 62449 product 0 60608 A 10 C 0 0 brewster_copper_lighting-1024x683-768x512.jpg Brewster Pendant Light, 995-Natural Raw Copper, FST-Frosted Glass, SBK-Standard Black Cord 768 512 60608
62415 60138 product 0 74648 A 10 C 0 0 Fargo_Pendant_Light_995-Raw-Copper_CSBW_975-GalvanizedCup_PaddleSwitch4.jpg Fargo Pendant, 995-Natural Raw Copper, Cup in 975-Galvanized, Arms with Paddle Switch, CSBW-Black & White Cloth Cord | Photo Courtesy of Tilted Barn Brewery & Apex Lighting 1500 2000 74648
48374 62449 product 0 60607 A 11 C 0 0 industrial_kitchen_lighting_brewster_pendants.jpg Brewster Pendant Light, 975-Galvanized, FST-Frosted Glass 478 640 60607
60298 60138 product 0 72531 A 11 C 0 0 Fargo_Pendant_Light_-_995_Natural_Raw_Copper_Barn_Light_Electric_-_Interior_Dining_Room_Lighting.jpg Fargo Pendant, 995-Raw Copper, Cup in 100-Black, No Arms and No Switch, SBK-Standard Black Cord | Photo Courtesy of Customer 1500 1000 72531
21919 62449 product 0 33805 A 12 C 0 0 brewster-pendant-105-navy-ribbed-in-setting.jpg Brewster Pendant Light, 105-Navy, RIB-Ribbed Glass, SWH-Standard White Cord 400 600 33805
60777 60138 product 0 73010 A 12 C 0 0 Fargo_Pendant_Light_-_200_White_Barn_Light_Electric_-_Hallway_Pendant_Lighting.jpg Fargo Pendant, 200-White, Cup in 100-Black, Turn Key Switch, SBK-Standard Black Cord | Photo Courtesy of Lara Anderson (@3nutshells) and Klugmann Media 1500 2251 73010
29906 60138 product 0 42129 A 13 C 0 0 copper-fargo-galv-cup.jpg Fargo Pendant, 995-Natural Raw Copper, Cup in 975-Galvanized, With Arms and Paddle Switch, SWH-Standard White Cord 700 500 42129
63714 60138 product 0 75947 A 14 C 0 0 20-residential-interior-lighting-dining-room-fargo-pendant-light-black-cloth-cord-105-textured-black_995_natural_raw_copper__2_.jpg Fargo Pendant, 105-Textured Black, SBK-Standard Black Cord | Photo Courtesy of Honey and Ace 1500 1412 75947
60305 60138 product 0 72538 A 15 C 0 0 Fargo_Pendant_Light_-_Barn_Light_Electric_-_Interior_Horse_Barn_Lighitng.jpeg Fargo Pendant, 995-Raw Copper, Cup in 970-Mahogany, No Arms and No Switch, SBK-Standard Black Cord | Photo Courtesy of Kate Zachrich 1512 2016 72538