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 (62333, 63758, 62350, 63510) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00137

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": 45,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (62333,63758,62350,63510)"
        }
      }
    },
    "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
21282 62333 product 0 33163 A 0 D 0 0 double-market-industrial-sconce-flared-307-TGG-RIB.jpg Double Market LED Industrial Guard Sconce, 307-Emerald Green, Flared Shade, TGG-Heavy Duty Cast Guard, RIB-Ribbed Glass 1000 1000 33163
24403 62350 product 0 36384 A 0 D 0 0 double-loft-307-emerald-CGG-RIB.jpg Industrial Loft LED Double Pendant, 307-Emerald Green, CGG-Standard Cast Guard, RIB-Ribbed Glass 1000 1000 36384
27210 63758 product 0 39387 A 0 D 0 0 atomic-dual-topless-sconce-705-navy-CGG-FST_w0um-3n.jpg Atomic Topless Dual LED Sconce, 705-Navy, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 39387
30086 63510 product 0 42309 A 0 D 0 0 downtown-2-light-sconce-black-weathererd-copper-web.jpg Downtown Minimalist Double Sconce, Mounting in 100-Black, Cups in 996-Natural Weathered Copper, Nostalgic Edison-Style 1890 Era 40W Bulb 600 600 42309
26503 63510 product 0 38670 A 1 D 0 0 downtown-2-light-sconce-white-web.jpg Downtown Minimalist Double Sconce, 200-White, Nostalgic Edison-Style 1890 Era 40W Bulb 600 600 38670
27209 63758 product 0 39386 A 1 D 0 0 atomic-dual-topless-sconce-400-barn-red-CGG-FST_ehdo-hv.jpg Atomic Topless Dual LED Sconce, 400-Barn Red, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 39386
65589 62350 product 0 77822 A 1 D 0 0 double-loft-975-galvanized-390-teal-CGG-RIB-alt.jpg Industrial Loft LED Double Pendant, 975-Galvanized, CGG-Standard Cast Guard, 390-Teal, CGG-Standard Cast Guard, RIB-Ribbed Glass 1000 1000 77822
71038 62333 product 0 83271 A 1 D 0 0 double-market-industrial-sconce-topless-630-Beige_hfqn-e4.jpg Double Market LED Industrial Guard Wall Sconce, 630-Beige, Topless Shade, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 83271
21283 62333 product 0 33164 A 2 D 0 0 double-market-sconce-flared-100-black-490-magenta-CGG-RIB.jpg Double Market LED Industrial Guard Sconce, 100-Black, Flared Shade, CGG-Standard Cast Guard, 490-Magenta, RIB-Ribbed Glass 1000 1000 33164
27212 63758 product 0 39389 A 2 D 0 0 atomic-dual-topless-sconce-975-galvanized-CGG-FST_kvfj-6j.jpg Atomic Topless Dual LED Sconce, 975-Galvanized, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 39389
30085 63510 product 0 42308 A 2 D 0 0 downtown-2-light-sconce-teal-web.jpg Downtown Minimalist Double Sconce, 390-Teal, Nostalgic Edison-Style 1890 Era 40W Bulb 600 600 42308
65587 62350 product 0 77820 A 2 D 0 0 double-loft-490-magenta-WGG-RIB_rgc2-bp.jpg Industrial Loft LED Double Pendant, 490-Magenta, WGG-Wire Guard, RIB-Ribbed Glass 1000 1000 77820
21354 62350 product 0 33235 A 3 D 0 0 atomic-double-loft-100-black-500-yellow-cgg-rib.jpg Industrial Loft LED Double Pendant, 100-Black, CGG-Standard Cast Guard, 500-Buttery Yellow, RIB-Ribbed Glass 1000 1000 33235
24492 62333 product 0 36473 A 3 D 0 0 double-market-industrial-sconce-topless-705-navy-CGG-RIB.jpg Double Market LED Industrial Guard Sconce, 705-Navy, Topless Shade, CGG-Standard Cast Guard, RIB-Ribbed Glass 1000 1000 36473
26504 63510 product 0 38671 A 3 D 0 0 downtown-2-light-sconce-black-web.jpg Downtown Minimalist Double Sconce, 100-Black, Nostalgic Edison-Style Victorian 25W Bulb 600 600 38671
27214 63758 product 0 39391 A 3 D 0 0 dual-industrial-sconce-390-teal-CGG-RIB_xptu-uj.jpg Atomic Topless Dual LED Sconce, 390-Teal, CGG-Standard Cast Guard, RIB-Ribbed Glass 1000 1000 39391
26505 63510 product 0 38672 A 4 D 0 0 downtown-2-light-sconce-delphite-web.jpg Downtown Minimalist Double Sconce, 715-Delphite, Nostalgic Edison-Style 1890 Era 40W Bulb 600 600 38672
27208 63758 product 0 39385 A 4 D 0 0 atomic-dual-topless-sconce-100-WGG-RIB_xe45-ky.jpg Atomic Topless Dual LED Sconce, 100-Black, WGG-Wire Guard, RIB-Ribbed Glass 1000 1000 39385
32168 62333 product 0 44401 A 4 D 0 0 double-market-industrial-sconce-topless-400-barn-red-CGG-FST_r870-bz.jpg Double Market LED Industrial Guard Sconce, 400-Barn Red, Topless Shade, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 44401
65586 62350 product 0 77819 A 4 D 0 0 double-loft-400-barn-red-CGG-FST_ul7b-7v.jpg Industrial Loft LED Double Pendant, 400-Barn Red, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 77819
21284 62333 product 0 33165 A 5 D 0 0 double-market-industrial-sconce-flared-500-buttery-yellow-CGG-RIB.jpg Double Market LED Industrial Guard Sconce, 500-Buttery Yellow, Flared Shade, CGG-Standard Cast Guard, RIB-Ribbed Glass 1000 1000 33165
27211 63758 product 0 39388 A 5 D 0 0 atomic-dual-topless-sconce-975-galvanized-490-magenta-CGG-RIB_otej-uw.jpg Atomic Topless Dual LED Sconce, 975-Galvanized, CGG-Standard Cast Guard, 490-Magenta, RIB-Ribbed Glass 1000 1000 39388
30087 63510 product 0 42310 A 5 D 0 0 downtown-2-light-sconce-black-weathered-brass-web.jpg Downtown Minimalist Double Sconce, Mounting in 100-Black, Cups in 998-Natural Weathered Brass, Nostalgic Edison-Style Victorian 25W Bulb 600 600 42310
65590 62350 product 0 77823 A 5 D 0 0 double-loft-975-galvanized-CGG-FST_9xo6-2p.jpg Industrial Loft LED Double Pendant, 975-Galvanized, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 77823
27213 63758 product 0 39390 A 6 D 0 0 dual-industrial-sconce-307-emerald-TGG-RIB_bmvx-t3.jpg Atomic Topless Dual LED Sconce, 307-Emerald Green, TGG-Heavy Duty Cast Guard, RIB-Ribbed Glass 1000 1000 39390
30088 63510 product 0 42311 A 6 D 0 0 downtown-2-light-sconce-galvanized-copper-raw-web.jpg Downtown Minimalist Double Sconce, Mounting in 975-Galvanized, Cups in 995-Natural Raw Copper, Nostalgic Edison-Style Victorian 25W Bulb 600 600 42311
65577 62333 product 0 77810 A 6 D 0 0 double-market-industrial-sconce-topless-715-delphite-CGG-CLR.jpg Double Market LED Industrial Guard Sconce, 715-Delphite Blue, Topless Shade, CGG-Standard Cast Guard, CLR-Clear Glass 1000 1000 77810
65588 62350 product 0 77821 A 6 D 0 0 double-loft-705-navy-CGG-CLR_ztmf-wp.jpg Industrial Loft LED Double Pendant, 705-Navy, CGG-Standard Cast Guard, CLR-Clear Glass 1000 1000 77821
46462 63758 product 0 58695 A 7 C 0 0 rustic_wall_sconce_led-576x768_hl7k-u1.jpg Atomic Topless Dual Sconce, 975-Galvanized, Frosted Glass, Standard Cast Guard | Photo Courtesy of Homeowners 576 768 58695
58967 62350 product 0 71200 A 7 C 0 0 Industrial_Loft_LED_Double_Pendant_-_Barn_Light_Electric_-_Front_Door_Lighting.jpeg ndustrial Loft Double Pendant, 200-White, CGG-Standard Cast Guard, FST-Frosted Glass | Photo Courtesy of John Colaneri 3024 4032 71200
61984 63510 product 0 74217 A 7 C 0 0 Downtown_Minimalist_Double_Sconce_-_Barn_Light_Electric_-_Bathroom_Lighting.jpg Downtown Minimalist Double Sconce, Mounting in 370-Mint, Cup Finish in 100-Black | Photo Courtesy of Gillian Jackson Photography and Sheree Stuart Design 4738 7099 74217
65578 62333 product 0 77811 A 7 D 0 0 double-market-industrial-sconce-warehouse-200-white-WGG-RIB_4g2m-v4.jpg Double Market LED Industrial Guard Sconce, 200-White, Warehouse Shade, WGG-Wire Guard, RIB-Ribbed Glass 1000 1000 77811
32170 62333 product 0 44403 A 8 C 0 0 rustic_industrial_led_wall_sconce-512x768.jpg Double Market LED Industrial Guard Sconce, 975-Galvanized, Warehouse Shade, TGG-Heavy Duty Cast Guard, RIB-Ribbed Glass | Customer Submission 512 768 44403
46463 63758 product 0 58696 A 8 C 0 0 dual_led_wall_sconce-768x715.jpg Atomic Topless Dual Sconce, 975-Galvanized, Frosted Glass, Standard Cast Guard | Photo Courtesy of Homeowners 768 715 58696
58968 62350 product 0 71201 A 8 C 0 0 Industrial_Loft_LED_Double_Pendant_-_Barn_Light_Electric_-_Front_Porch_Lighting.jpeg ndustrial Loft Double Pendant, 200-White, CGG-Standard Cast Guard, FST-Frosted Glass | Photo Courtesy of John Colaneri 3024 4032 71201
59042 63510 product 0 71275 A 8 C 0 0 Downtown_Minimalist_Double_Wall_Sconce_-_Barn_Light_Electric_-_Restaurant_Lighting_.jpg Downtown Minimalist Double Sconce, Mounting in 105-Textured Black | Photo Courtesy of Restaurant: Impossible & Loyd Have Mercy Restaurant in Titusville, FL 5474 3650 71275
46464 63758 product 0 58697 A 9 C 0 0 american_made_barn_lights_led-768x768__1_.jpg Atomic Topless Dual Sconce, 975-Galvanized, Frosted Glass, Standard Cast Guard | Photo Courtesy of Homeowners 768 768 58697
53624 63510 product 0 65857 A 9 C 0 0 Downtown-Minimalist-Double-Sconce-Weathered-Brass-Lights-Off.jpeg Downtown Minimalist Double Sconce, Mounting in 100-Black, Cup in 998-Natural Weathered Brass, (2) Victorian 40W Edison Bulbs | Photo Courtesy of John Colaneri 3024 4032 65857
58969 62350 product 0 71202 A 9 C 0 0 Industrial_Loft_LED_Double_Pendant_-_Barn_Light_Electric_-_Exterior_Lighting.jpeg ndustrial Loft Double Pendant, 200-White, CGG-Standard Cast Guard, FST-Frosted Glass | Photo Courtesy of John Colaneri 3024 4032 71202
65615 62333 product 0 77848 A 9 C 0 0 image_67203585-residential-exterior-lighting-garage-workshop-Double-Market-LED_Industrial-Guard-Sconce-300-Dark-Green-CGG-Clear-Glass.JPG Double Market LED Industrial Guard Sconce, 300-Dark Green, CGG-Standard Cast Guard, Clear Glass | Customer Submission 3024 3403 77848
53617 63510 product 0 65850 A 10 C 0 0 Downtown-minimalist-sconce-industrial-grey-modern-bathroom.jpg Downtown Minimalist Double Sconce, Mounting in 800-Industrial Grey, Cup in 800-Industrial Grey, (2) 1890 Era 40W Edison Bulbs 5760 3840 65850
58970 62350 product 0 71203 A 10 C 0 0 Industrial_Loft_LED_Double_Pendant_-_Barn_Light_Electric_-_Exterior_Front_Porch_Lighting.jpg ndustrial Loft Double Pendant, 200-White, CGG-Standard Cast Guard, FST-Frosted Glass | Photo Courtesy of John Colaneri 3409 5113 71203
53623 63510 product 0 65856 A 11 C 0 0 Downtown-minimalist-double-sconce-bathroom-weather-brass.jpeg Downtown Minimalist Double Sconce, Mounting in 100-Black, Cup in 998-Natural Weathered Brass, (2) Victorian 40W Edison Bulbs | Photo Courtesy of John Colaneri 3024 4032 65856
59043 63510 product 0 71276 A 12 C 0 0 Downtown_Minimalist_Double_Wall_Sconce_-_Barn_Light_Electric_-_Wall_Sconce_Lighting.jpg Downtown Minimalist Double Sconce, Mounting in 105-Textured Black | Photo Courtesy of Restaurant: Impossible & Loyd Have Mercy Restaurant in Titusville, FL 5687 3791 71276
66838 63510 product 0 79071 A 12 C 0 0 image4-residential-interior-lighting-bathroom-vanity-Downtown-Minimalist-Double-Sconce-500-Buttery-Yellow-1910-Era-60w-Edison-Bulbs.jpeg Downtown Minimalist Double Sconce, 500-Buttery Yellow, 1910-Era, 60w Edison Bulbs | Customer Submission 2235 2206 79071