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 (62012, 61336, 61337, 63034) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00138

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": 47,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (62012,61336,61337,63034)"
        }
      }
    },
    "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
32625 63034 product 0 44858 A 0 D 0 0 Swivel-Knuckle.jpg Swivel Knuckle, 975-Galvanized 1000 1000 44858
46467 61336 product 0 58700 A 0 D 0 0 Heavy_Duty_Wall_Backing_Plate_-_Front_View_-_Barn_Light_Electric_HDBP.jpg Heavy Duty Backing Plate Dimensions (Front View) 1000 1000 58700
63132 62012 product 0 75365 A 0 D 0 0 dawn-to-dusk-311-jadite.jpg Dusk-to-Dawn Photocell, 311-Jadite 1000 1000 75365
65386 61337 product 0 77619 A 0 C 0 0 IMG_9490-residential-exterior-lighting-Original-Warehouse-Gooseneck-16in-765-Delphite-Blue-G22-980-Brushed-Aluminum-Decorative-Backing-Plate.jpg Decorative Backing Plate Cover (Displayed here: 16" The Original™ Warehouse Gooseneck Light, 765-Delphite Blue, G22 Arm, 980-Brushed Aluminum, Decorative Backing Plate) 2159 1766 77619
23835 63034 product 0 35766 A 1 D 0 0 swivel-knuckle-black.jpg Swivel Knuckel, 100-Black 600 600 35766
46468 61336 product 0 58701 A 1 D 0 0 Heavy_Duty_Wall_Backing_Plate_-_Side_View_-_Barn_Light_Electric_HDBP.jpg Heavy Duty Backing Plate Dimensions (Side View) 1000 1000 58701
63133 62012 product 0 75366 A 1 D 0 0 dawn-to-dusk-400-barn-red.jpg Dusk-to-Dawn Photocell, 400-Barn Red 1000 1000 75366
63141 61337 product 0 75374 A 1 D 0 0 standard-decorative-backing-plate-715-delphite.jpg Decorative Backing Plate Cover, 715-Delphite 1000 1000 75374
15656 61336 product 0 27123 A 2 D 0 0 heavy_duty_backing_plate_galvanized.jpg Heavy Duty Backing Plate, 975-Galvanized 500 500 27123
23836 63034 product 0 35767 A 2 D 0 0 goodrich-fire-chief-850-graphite-swivel-knuckle-2.jpg 12" Goodrich Fire Chief, 850-Graphite, G2 Gooseneck Arm with Swivel Knuckle 600 600 35767
63134 62012 product 0 75367 A 2 D 0 0 dawn-to-dusk-705-navy.jpg Dusk-to-Dawn Photocell, 705-Navy 1000 1000 75367
63139 61337 product 0 75372 A 2 D 0 0 standard-decorative-backing-plate-400-barn-red.jpg Decorative Backing Plate Cover, 400-Barn Red 1000 1000 75372
15727 61336 product 0 27206 A 3 D 0 0 heavy_duty_backing_plate_gooseneck.jpg Heavy Duty Backing Plate, 975-Galvanized with Gooseneck Arm 600 357 27206
23837 63034 product 0 35768 A 3 D 0 0 benjamin-sky-chief-jadeite-swivel-knuckle-2.jpg 14" Benjamin Sky Chief, 355-Jadite, Swivel Knuckle 600 600 35768
46418 62012 product 0 58651 A 3 D 0 0 Dusk-to-Dawn-Photocell_-_Side_View_-_Barn_Light_Electric.png Dusk-to-Dawn Photocell (Side View) 1000 1000 58651
46716 61337 product 0 58949 A 3 D 0 0 standard-decorative-backing-plate-997-raw-brass.jpg Decorative Backing Plate Cover, 997-Natural Raw Brass 1000 1000 58949
46419 62012 product 0 58652 A 4 D 0 0 Dusk-to-Dawn-Photocell_-_Front_View_-_Barn_Light_Electric.png Dusk-to-Dawn Photocell (Front View) 1000 1000 58652
56058 63034 product 0 68291 A 4 C 0 0 avalon-gooseneck-light-16in-500-buttery-yellow-g6-led-swivel-neck-commercial-exterior-on-high-res_ng3l-ja.jpg 16” Avalon, 500-Buttery Yellow, G6 Gooseneck Arm, Swivel Knuckle | Photo Courtesy of Apron Masters and Brian Berkowitz Photography 1500 2251 68291
62403 61336 product 0 74636 A 4 C 0 0 Bomber_Gooseneck_Light_11in_605-Rust_G15arm_HDBP__2_.jpg Heavy Duty Backing Plate (Displayed here: 11” Bomber, 605-Rust, G15 Gooseneck Arm, Heavy Duty Backing Plate | Photo Courtesy of Homeowner) 1715 1401 74636
63140 61337 product 0 75373 A 4 D 0 0 standard-decorative-backing-plate-615-oil-rubbed-bronze.jpg Decorative Backing Plate Cover, 615-Oil-Rubbed Bronze 1000 1000 75373
15694 61337 product 0 27169 A 5 D 0 0 Decorative-Backing-Plate-Cover.jpg Decorative Backing Plate Cover w/ Gooseneck 600 600 27169
19150 62012 product 0 30862 A 5 D 0 0 dusk-to-dawn-gooseneck.jpg Dusk-to-Dawn Photocell on Gooseneck Light (Gooseneck Light NOT Included) 600 600 30862
56056 63034 product 0 68289 A 5 C 0 0 sign_lighting_-_Barn_Light_Electric_-_Swivel_Knuckle.JPG 8” Emblem Sign Lights, G11 Gooseneck Arm, Swivel Knuckle 1483 1347 68289
62404 61336 product 0 74637 A 5 C 0 0 Bomber_Gooseneck_Light_11in_605_Rust_G15arm_HDBP.jpg Heavy Duty Backing Plate (Displayed here: 11” Bomber, 605-Rust, G15 Gooseneck Arm, Heavy Duty Backing Plate | Photo Courtesy of Homeowner) 1500 1771 74637
46448 61337 product 0 58681 A 6 D 0 0 Decorative_Backing_Plate_Cover_-_Front_View_-_Barn_Light_Electric.png Decorative Backing Plate Cover Dimensions (Front View) 3334 3334 58681
56057 63034 product 0 68290 A 6 C 0 0 sign_lighting_commercial_lighting-1270x883.jpg 10” Fire Chief Sign Lights, G64 Gooseneck Arm, Swivel Knuckle | Photo Courtesy of Elle Designs 1270 883 68290
59191 61336 product 0 71424 A 6 C 0 0 The_Original™_Warehouse_Nautical_LED_Gooseneck_Light_-_Barn_Light_Electric_-_Modern_LED_Garage_Lighting.jpg Heavy Duty Backing Plate (Displayed here: 16” The Original™ Nautical LED, 355-Porcelain Jadite, G22 Gooseneck Arm in 350-Vintage Green, TGG-Heavy Duty Cast Guard in 150-Black, CLR-Clear Glass, Heavy Duty Backing Plate, 3500K - Bright White Color Temp | Photo Courtesy of Homeowner) 1500 1125 71424
59193 62012 product 0 71426 A 6 C 0 0 Chestnut_Gooseneck_Light_-_Barn_Light_Electric_-_Raw_Copper_Exterior_Garage_Lighting_yyaq-mu.jpg Dusk-to-Dawn Photocell (Displayed here: 8” Chestnut, 995-Natural Raw Copper, G3 Gooseneck Arm in 100-Black, Dusk-to-Dawn Photocell | Photo Courtesy of Homeowner) 1477 1971 71426
46449 61337 product 0 58682 A 7 D 0 0 Decorative_Backing_Plate_Cover_-_Side_View_-_Barn_Light_Electric.png Decorative Backing Plate Cover Dimensions (Side View) 3334 3334 58682
59545 62012 product 0 71778 A 7 C 0 0 Rochester_Vintage_Industrial_LED_Gooseneck_Light_-_Barn_Light_Electric_-_Modern_Exterior_Garage_Barn_Lighting_xjql-fv.JPG Dusk-to-Dawn Photocell (Pictured here: 14” Rochester LED, 765-Delphite Blue Porcelain, CGG-Standard Cast Guard in 975-Galvanized, FST-Frosted Glass, G15 Gooseneck Arm in 975-Galvanized, Dusk-to-Dawn Photocell, 2700K Color Temperature | Photo Courtesy of Studio Baron) 1118 838 71778
63803 61336 product 0 76036 A 7 C 0 0 residential-exterior-lighting-porch-Newport-Gooseneck-Light-705-Navy-G22arm-Heavy-Duty-Backing-Plate.jpg Heavy Duty Backing Plate (Displayed here: Newport Gooseneck Light, 705 Navy, G22 Gooseneck Arm, HDBP-Heavy Duty Backing Plate | Photo Courtesy of Homeowner) 1500 1750 76036
66069 61336 product 0 78302 A 7 C 0 0 IMG_9562-residential-exterior-lighting-Original-Dual-Arm-Sign-Light-14in-996-Weathered-Copper-12in-arm-106-Matte-Black-Heavy-Duty-Backing-Plate_5let-cz.jpg Heavy Duty Backing Plate (Displayed here: The Original™ Dual Arm Sign Light, 14" Shades, 996-Weathered Copper, 12" Arm, 106-Matte Black, Heavy Duty Backing Plate | Customer Submission) 3024 4032 78302
56302 61337 product 0 68535 A 8 D 0 0 original-12-inch-gooseneck-brass.jpg Decorative Backing Plate Cover (Displayed Here: 12" The Original™, 997-Raw Brass, G24 Gooseneck Arm, Decorative Backing Plate & Hex Cover) 600 600 68535
59194 62012 product 0 71427 A 8 C 0 0 Chestnut_Gooseneck_Light_-_Barn_Light_Electric_-_Raw_Copper_Exterior_Garage_Lighting_with_Dusk_to_Dawn_Photocell.jpg Dusk-to-Dawn Photocell (Displayed here: 8” Chestnut, 995-Natural Raw Copper, G3 Gooseneck Arm in 100-Black, Dusk-to-Dawn Photocell | Photo Courtesy of Homeowner) 1492 1773 71427
37759 62012 product 0 49992 A 9 C 0 0 industrial_guard_sconce_100_black_flared_CGG_clear_dusktodawn11.jpg Dusk-to-Dawn Photocell (Displayed here: Industrial Guard Sconce, 100-Black Finish, FS - Flared Shade, CGG - Standard Glass Guard, Clear Glass, Dusk-to-Dawn Photocell, Photo Courtesy of Most Lovely Things) 1500 2000 49992
56303 61337 product 0 68536 A 9 C 0 0 Decorative_Backing_Plate_Cover_-_Union_Gooseneck_Light_-_Barn_Light_Electric_-_Farmhouse_Bathroom_Vanity.jpg Decorative Backing Plate Cover (Displayed Here: 10" Union, 995-Raw Copper, G22 Gooseneck Arm, 100-Black, Decorative Copper Backing Plate & Hex Cover | Photo Courtesy of Amy from My Life from Home) 512 768 68536
56304 61337 product 0 68537 A 10 C 0 0 Sinclair_Gooseneck_Light_-_Barn_Light_Electric_-_Modern_Farmhouse_Brass_Kitchen_Lighting.jpeg Decorative Backing Plate Cover (Displayed Here:10" Sinclair Gooseneck Light, 200-White Finish, G34 Gooseneck Arm in a 200-White Finish, Brass Backing Plate & Hex Cover | Photo Courtesy of Taylor Newton Photography) 2048 1365 68537
59546 62012 product 0 71779 A 10 C 0 0 Rochester_Vintage_Industrial_LED_Gooseneck_-_Barn_Light_Electric_-_Exterior_Garage_Barn_Lighting_jfjn-ot.JPG Dusk-to-Dawn Photocell (Pictured here: 14” Rochester LED, 765-Delphite Blue Porcelain, CGG-Standard Cast Guard in 975-Galvanized, FST-Frosted Glass, G15 Gooseneck Arm in 975-Galvanized, Dusk-to-Dawn Photocell, 2700K Color Temperature | Photo Courtesy of Studio Baron) 1122 1496 71779
37835 62012 product 0 50068 A 11 C 0 0 american_made_porcelain_enamel_lighting__455_cherry_red_dusk_to_dawn_.jpg Dusk-to-Dawn Photocell (Displayed here: 16 “ Original™ Warehouse Gooseneck Light, 455-Porcelain Cherry Red, G15 Gooseneck Arm in 975-Galvanized) 1500 1173 50068
66331 61337 product 0 78564 A 11 C 0 0 IMG_2193-residential-exterior-lighting-barn-shed-Emblem-LED-Sign-Light-12in-250-White-G64arm-150-Black-Swivel-Knuckle-Decorative-BP-Hex-Cover_mz6v-ve.jpeg Decorative Backing Plate (Pictured here: Emblem LED Sign Light, 250-White, G64 Arm, 150-Black, Swivel Knuckle, Decorative Backing Plate, Hex Cover) Photo Courtesy of Mountain Field Farms 4032 3024 78564
56307 61337 product 0 68540 A 12 C 0 0 Primary_Schoolhouse_Gooseneck_Light_-_Decorative_Backing_Plate_Cover_-_Modern_Farmhouse_Vanity_Lighting.jpg Decorative Backing Plate Cover (Displayed Here: Primary Schoolhouse Gooseneck Light, 996-Weathered Brass, Clear Glass, No Painted Band, G11 Gooseneck Arm | Photo Courtesy of Christina’s Adventures) 3233 2155 68540
60007 62012 product 0 72240 A 12 C 0 0 Original_Gooseneck_Light_-_765_Porcelain_Delphite_Barn_Light_Electric_-_Exterior_Garage_Lighting_ttfe-he.jpg Dusk-to-Dawn Photocell (Displayed here: 12” Original™, 765-Porcelain Delphite Blue, G11 Gooseneck Arm in 980-Brushed Aluminum, Dusk-to-Dawn Photocell, Wire Cage | Photo Courtesy of Homeowner) 1500 2000 72240
56305 61337 product 0 68538 A 13 C 0 0 Chestnut_Gooseneck_Light_-_Decorative_Backing_Plate_-_Barn_Light_Electric_-_Farmhouse_Front_Porch_Lighting.jpg Decorative Backing Plate Cover (Displayed Here: 12” Chestnut, 995-Raw Copper, G15 Gooseneck Arm, Decorative Backing Plate Cover | Photo Courtesy of Natalie Jensen @nataliedarlingblog) 3465 5045 68538
56308 61337 product 0 68541 A 14 C 0 0 Primary_Schoolhouse_Gooseneck_Light_-_Barn_Light_Electric_-_Decorative_Backing_Plate_Cover_-_Farmhouse_Bathroom_Vanity_Lighting.jpg Decorative Backing Plate Cover (Displayed Here: Primary Schoolhouse Gooseneck Light, 998-Natural Weathered Brass, Small Clear Glass, No Painted Band, G11 Gooseneck Arm, Brass Backing Plate & Hex Cover | Photo Courtesy of Celebrity Style Guide) 2938 3671 68541
56309 61337 product 0 68542 A 15 C 0 0 Decorative_Backing_Plate_Cover_-_Barn_Light_Electric_-_Primary_Schoolhouse_Gooseneck_Light_-_Farmhouse_Modern_Bathroom_Vanity.jpg Decorative Backing Plate Cover (Displayed Here: Primary Schoolhouse Gooseneck Light, 999-Oil-Rubbed Copper, Small Clear Glass, No Painted Band, G15 Gooseneck Arm) 1536 1495 68542
59587 61337 product 0 71820 A 16 C 0 0 Bomber_Gooseneck_Light_-_Barn_Light_Electric_-_Raw_Copper_Exterior_Lighting_civp-m2.jpg Decorative Backing Plate Cover (Displayed here: 11” Bomber, 995-Raw Copper, G15 Gooseneck Arm in 995-Raw Copper, Copper Backing Plate & Hex Cover (Also Pictured: Sydney Flush Mount Pendant) | Photo Courtesy of Rayna Vogel Interior Design) 1242 1207 71820
62180 61337 product 0 74413 A 17 C 0 0 baba-commercial-exterior--aero-gooseneck-705-navy-G8-alt_d0gr-x1.jpg Decorative Backing Plate Cover (Displayed here: 12" Aero, 705-Navy, G8 Gooseneck Arm) 2000 3000 74413