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 (61413, 60978, 60980, 61621) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00081

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": 38,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (61413,60978,60980,61621)"
        }
      }
    },
    "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
13554 60980 product 0 24019 A 0 D 0 0 8_inch_wesco_double_vanity_gooseneck_975_galvanized.jpg 8" Wilcox Double Vanity, 975-Galvanized 600 600 24019
13775 60980 product 0 24460 A 0 D 0 0 8_inch_wesco_double_vanity_gooseneck_300_dark_green.jpg 8" Wilcox Double Vanity, 100-Black 600 600 24460
16079 61413 product 0 27599 A 0 D 0 0 atomic-topless-double-industrial-sconce-307-emerald-TGG-RIB.jpg Atomic Topless Double Industrial Guard Sconce, 307-Emerald Green, TGG-Heavy Duty Cast Guard, RIB-Ribbed Glass 1000 1000 27599
18087 60978 product 0 29716 A 0 D 0 0 Union_2-Light_Vanity_Sconce_-_Barn_Light_Electric_-_Dark_Green.png 10" Union Vanity Light, 300-Dark Green 1000 1000 29716
18088 60978 product 0 29717 A 0 D 0 0 Union_2-Light_Vanity_Sconce_-_Barn_Light_Electric_-_Black.png 10" Union Vanity Light, 100-Black 1000 1000 29717
63918 61621 product 0 76151 A 0 D 0 0 schoolhouse-primary-vanity-3-light-small-glass-clear-975-galvanized.jpg Primary 3-Light Schoolhouse Vanity Light, Clear Glass, 975-Galvanized Mounting and Fitter Finish 1000 1000 76151
67215 60980 product 0 79448 A 0 C 0 0 20230117_094710-residential-interior-lighting-on-bathroom-vanity-Wilcox-2-Light-Vanity-10in-380-Chartreuse.jpg 10" Wilcox Double Vanity, 380-Chartreuse | Customer Submission 2981 3633 79448
63921 61621 product 0 76154 A 1 D 0 0 schoolhouse-primary-vanity-3-light-small-glass-opaque-500-buttery-yellow.jpg Primary 3-Light Schoolhouse Vanity Light, Opaque Glass, 500-Buttery Yellow Mounting and Fitter Finish 1000 1000 76154
65627 61413 product 0 77860 A 1 D 0 0 atomic-topless-double-industrial-sconce-100-black-CGG-FST-profile-alt.jpg Atomic Topless Double Industrial Guard Sconce, 100-Black, CGG-Standard Cast Guard, FST-Frosted Glass (Note: Product is CSA listed for damp location use when mounted vertically as shown) 1000 1000 77860
63919 61621 product 0 76152 A 2 D 0 0 schoolhouse-primary-vanity-3-light-small-glass-opaque-100-black-311-jadite-single-painted-band.jpg Primary 3-Light Schoolhouse Vanity Light, Opaque Glass, 100-Black Mounting and Fitter Finish, Single Painted Band, 311-Jadite 1000 1000 76152
65622 61413 product 0 77855 A 2 D 0 0 atomic-topless-double-industrial-sconce-705-navy-490-magenta-CGG-RIB_zyqq-40.jpg Atomic Topless Double Industrial Guard Sconce, 705-Navy, CGG-Standard Cast Guard, 490-Magenta, RIB-Ribbed Glass 1000 1000 77855
21201 61413 product 0 33082 A 3 D 0 0 atomic-topless-double-industrial-sconce-500-buttery-yellow-CGG-RIB.jpg Atomic Topless Double Industrial Guard Sconce, 500-Buttery Yellow, CGG-Standard Cast Guard, RIB-Ribbed Glass 1000 1000 33082
23152 61621 product 0 35063 A 3 D 0 0 schoolhouse-primary-vanity-3-light-small-glass-clear-715-delphite-triple-painted-band.jpg Primary 3-Light Schoolhouse Vanity Light, Clear Glass, 715-Delphite Mounting and Fitter Finish, Triple Painted Band 1000 1000 35063
16052 61413 product 0 27572 A 4 D 0 0 atomic-topless-double-industrial-sconce-200-white-CGG-FST.jpg Atomic Topless Double Industrial Guard Sconce, 200-White, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 27572
23151 61621 product 0 35062 A 4 D 0 0 schoolhouse-primary-vanity-3-light-small-glass-clear-705-navy-700-royal-blue-double-painted-band.jpg Primary 3-Light Schoolhouse Vanity Light, Clear Glass, 705-Navy Mounting and Fitter Finish, Double Painted Band in 700-Royal Blue 1000 1000 35062
16050 61413 product 0 27570 A 5 D 0 0 atomic-topless-double-industrial-sconce-100-black-WGG-RIB.jpg Atomic Topless Double Industrial Guard Sconce, 100-Black, WGG-Wire Guard, RIB-Ribbed Glass 1000 1000 27570
63920 61621 product 0 76153 A 5 D 0 0 schoolhouse-primary-vanity-3-light-small-glass-opaque-200-white-307-emerald-green-double-painted-band.jpg Primary 3-Light Schoolhouse Vanity Light, Opaque Glass, 200-White Mounting and Fitter Finish, Double Painted Band in 307-Emerald Green 1000 1000 76153
63917 61621 product 0 76150 A 6 D 0 0 schoolhouse-primary-vanity-3-light-small-glass-clear-805-charcoal-granite-200-white-single-painted-band.jpg Primary 3-Light Schoolhouse Vanity Light, Clear Glass, 805-Charcoal Granite Mounting and Fitter Finish, Single Painted Band in 200-White 1000 1000 76150
65628 61413 product 0 77861 A 6 D 0 0 atomic-topless-double-industrial-sconce-300-dark-green-CGG-FST.jpg Atomic Topless Double Industrial Guard Sconce, 300-Dark Green, CGG-Standard Cast Guard, FST-Frosted Glass (Note: Product is CSA listed for damp location use when mounted vertically as shown) 1000 1000 77861
21202 61413 product 0 33083 A 7 D 0 0 atomic-topless-double-industrial-sconce-400-barn-red-CGG-FST.jpg Atomic Topless Double Industrial Guard Sconce, 400-Barn Red, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 33083
60295 61621 product 0 72528 A 7 C 0 0 Schoolhouse_3-Light_Vanity_Light_-_Barn_Light_Electric_-_Commercial_Lighting.png Primary 3-Light Schoolhouse Vanity Light, Opaque Glass, 100-Black Mounting and Fitter Finish, No Painted Band | Photo Courtesy of Ukrops Food Hall in Richmond, VA, Urban Core Development, Lighting Environments VA and 510 Architects 575 431 72528
63713 61413 product 0 75946 A 8 C 0 0 6-residential-interior-bathroom-vanity-lighting-atomic-topless-double-industrial-guard-sconce-105-Textured-Black-frosted-glass.jpg Atomic Topless Double Industrial Guard, 105-Textured Black, FST-Frosted Glass | Photo Courtesy of Honey and Ace 4299 6466 75946
52006 61413 product 0 64239 A 9 C 0 0 Atomic_Topless_Double_Industrial_Guard_Sconces_-_Dark_Green.png Atomic Topless Double Industrial Guard Sconce, 300-Dark Green, TGG-Heavy Duty Guard | Photo Courtesy of Brian Patrick Flynn (Note: Product is CSA listed for damp location use when mounted vertically as shown) 475 594 64239
54141 61413 product 0 66374 A 10 C 0 0 Urban-Putt-24-atomic-topless-double-industrial-guard-sconce-105-textured-black-standard-cast-guard-commercial-interior-restaurant-bar-mini-golf-brick.jpg Atomic Topless Double Industrial Guard Sconce, 105-Textured Black, CGG-Standard Cast Guard, Ribbed Glass | Photo Courtesy of Urban Putt and Visual Interest (Note: Product is CSA listed for damp location use when mounted vertically as shown) 3811 5716 66374
60040 61413 product 0 72273 A 11 C 0 0 Atomic_Topless_Double_Industrial_Guard_Sconce_-_Barn_Light_Electric_-_Bathroom_Lighting.jpeg Atomic Topless Double Industrial Guard Sconce, 400-Barn Red, CGG-Standard Cast Guard | Photo Courtesy of Forest+Ash Design and Mainescape Media 5186 3893 72273
28575 61413 product 0 40774 A 12 C 0 0 354B7900.jpg Atomic Topless Double Industrial Guard Sconce, 975-Galvanized, WGG-Wire Guard, SMK-Smoke Crackle Glass 1000 667 40774
62895 61413 product 0 75128 A 13 C 0 0 4M5A1258-Commercial-Interior-Restaurant-BBQ-Bathroom-Atomic-Topless-Double-Industrial-Guard-Sconce-400-Barn-Red.jpg Atomic Topless Double Industrial Guard Sconce, 400-Barn Red, CGG-Standard Cast Guard, CLR-Clear Glass 1500 2250 75128
44346 61413 product 0 56579 A 14 C 0 0 atomic_topless_double_wireguard_sconce_bathroom.jpg Atomic Topless Double Industrial Guard Sconce, 975-Galvanized, WGG-Wire Guard 600 900 56579
57077 61413 product 0 69310 A 15 C 0 0 primary_schoolhouse_semiflush_400-barnred_WGG_clearglass_atomic_topless_double_industrial_guard_sconce_400-barnred_WGG_clearglass2.JPG Atomic Topless Double Industrial Guard Sconce, 400-Barn Red, WGG-Wire Guard (Also Pictured: Primary Schoolhouse Semi-Flush Mount Light) | Photo Courtesy April Hershberger (@barnhomeliving) 1537 2049 69310
46024 61413 product 0 58257 A 16 C 0 0 Atomic_Topless_Double_Industrial_Guard_Sconce_-_Barn_Light_Electric_7xr5-b3.jpeg Atomic Topless Double Industrial Guard Sconce, 311-Jadite, CGG-Standard Cast Guard, CLR-Clear Glass | Photo Courtesy of Homeowner 3521 5281 58257
18204 61413 product 0 29833 A 17 C 0 0 double-industrial-guard-sconce-customer-submission.jpg Atomic Topless Double Industrial Guard Sconce, 975-Galvanized, TGG-Heavy Duty Cast Guard, CLR-Clear Glass 700 500 29833
46809 61413 product 0 59042 A 18 C 0 0 industrial_loft_double_sconce_exterior__1_.jpg Customer Submission from Roscoe, New York 654 701 59042
46810 61413 product 0 59043 A 19 C 0 0 atomic_topless_double_indsutrial_guard_sconce_txtrdblack_cgg_clearcrackleglass5.jpeg Industrial Loft Double Pendant, 100-Black, CGG-Standard Cast Guard, Frosted Glass | Courtesy of Customer (Note: Product is CSA listed for damp location use when mounted vertically as shown) 3112 4053 59043
49181 61413 product 0 61414 A 20 C 0 0 rustic_wall_sconce_lighting.jpg Atomic Topless Double Industrial Guard Sconce, 500-Buttery Yellow, CGG-Standard Cast Guard | Photo Courtesy of Homeowner 1024 814 61414
56899 61413 product 0 69132 A 21 C 0 0 Atomic_Topless_Double_Industrial_Guard_Sconce_-_Barn_Light_Electric_-_Bathroom_Vanity_Sconce_Lighting.JPG Atomic Topless Double Industrial Guard Sconce, 100-Black, CGG-Standard Cast Guard, Frosted Glass | Photo Courtesy of Homeowner 2228 2398 69132
54155 61413 product 0 66388 A 22 C 0 0 double-industrial-guard-sconce.jpeg Atomic Topless Double Industrial Guard Sconce, 975-Galvanized, TGG-Heavy Duty Cast Guard | Photo Courtesy of Homeowner 4721 3214 66388
68545 61413 product 0 80778 A 22 C 0 0 IMG-1855-commercial-interior-lighting-hotel-Atomic-Topless-Double-Industrial-Guard-Sconce-400-Barn-Red-CGG-400-Barn-Red-Frosted-Glass.jpg Atomic Topless Double Industrial Guard Sconce, 400-Barn Red, CGG-Standard Cast Guard, FST-Frosted Glass | Photo Courtesy of The Hostel Hotel 1500 1078 80778
69174 61413 product 0 81407 A 22 C 0 0 IMG_3377-commercial-interior-lighting-on-hotel-Atomic-Topless-Double-Industrial-Guard-Sconce-400-Barn-Red-CGG-Frosted-Glass-Wallaby-Gooseneck-12in-400-Barn-Red-G3arm.jpg Atomic Topless Double Industrial Guard Sconce, 400-Barn Red, CGG-Standard Cast Guard, FST-Frosted Glass 1500 2000 81407