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 (64693, 62258, 62260, 62259) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00097

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": 40,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (64693,62258,62260,62259)"
        }
      }
    },
    "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
35505 64693 product 0 47738 A 0 D 0 0 original-flush-mount-14in-995-raw-copper-100-black.jpg 14" The Original™ Flush Mount, 995-Natural Raw Copper, Mounting in 100-Black 1000 1000 47738
53862 62259 product 0 66095 A 0 D 0 0 Wire-Guard-Barn-Red.jpg Wire Guard, 400-Barn Red 1000 1000 66095
53865 62260 product 0 66098 A 0 D 0 0 Standard-Guard-Black.jpg Standard Cast Guard, 100-Black 1000 1000 66098
53868 62258 product 0 66101 A 0 D 0 0 Heavy-Duty-Guard-Delphite.jpg Heavy Duty Guard, 715-Delphite 1000 1000 66101
53869 62258 product 0 66102 A 0 D 0 0 Heavy-Duty-Guard-Galvanized.jpg Heavy Duty Guard, 975-Galvanized 1000 1000 66102
57047 62258 product 0 69280 A 0 C 0 0 Heavy_Duty_Guard_-_Streamline_Industrial_Guard_Sconce_-_Barn_Light_Electric_-_Bathroom_Lighting.jpg Heavy Duty Guard (Displayed Here: Streamline Industrial Guard Sconce, 311-Jadite PTMP, No Shade, Heavy Duty Guard, FST-Frosted Glass | Photo Courtesy of Sarah C Designs) 4016 6016 69280
57048 62258 product 0 69281 A 0 C 0 0 Heavy_Duty_Guard_-_Double_Market_Industrial_Guard_Sconce_-_Barn_Light_Electric_-_Bathroom_Vanity_Lighting.jpg Heavy Duty Guard (Displayed Here: Double Market Industrial Guard Sconce, 705-Navy, WS-Warehouse Shade, Clear Glass, TGG-Heavy Duty Cast Guard | Courtesy of The Cards We Drew) 750 514 69281
57049 62258 product 0 69282 A 0 C 0 0 Heavy_Duty_Guard_-_Industrial_Guard_Pendant_-_Barn_Light_Electric_-_Exterior_Pendant_Farmhouse_Lighting.jpg Heavy Duty Guard (Displayed Here: Industrial Guard Pendant Light, 615-Oil-Rubbed Bronze, SBK-Standard Black Cord, WH-Warehouse Shade, TGG-Heavy Duty Cast Guard, CLR-Clear Glass | Photo Courtesy of Between Wind and Water Design) 2960 3891 69282
57050 62258 product 0 69283 A 0 C 0 0 Heavy_Cast_Guard_-_Atomic_Topless_Double_Industrial_Guard_Sconce_-_Barn_Light_Electric_Bathroom_Lighting.png Heavy Duty Guard (Displayed Here: Atomic Topless Double Industrial Guard Sconce, 300-Dark Green, TGG-Heavy Duty Guard | Photo Courtesy of Brian Patrick Flynn) 475 594 69283
57327 62258 product 0 69560 A 0 D 0 0 Heavy-Duty-Guard-Black.jpg Heavy Duty Guard, 100-Black 475 475 69560
53863 62259 product 0 66096 A 1 D 0 0 Wire-Guard-Galvanized.jpg Wire Guard, 975-Galvanized 1000 1000 66096
53866 62260 product 0 66099 A 1 D 0 0 Standard-Guard-Galvanized.jpg Standard Cast Guard, 975-Galvanized 1000 1000 66099
57325 62259 product 0 69558 A 2 D 0 0 Wire-Guard-Black.jpg Wire Guard, 100-Black 1000 1000 69558
57326 62260 product 0 69559 A 2 D 0 0 Standard-Guard-Barn-Red.jpg Standard Cast Guard, 400-Barn Red 1000 1000 69559
61813 64693 product 0 74046 A 2 D 0 0 original-flush-mount-28in-700-Royal-Blue-200-white.jpg 28" The Original™ Flush Mount, 700-Royal Blue, Mounting in 200-White 1000 1000 74046
57051 62259 product 0 69284 A 3 C 0 0 Wire_Cast_Guard_-_Barn_Light_Electric_-_Bathroom_Vanity_Lighting.jpg Wire Guard (Displayed Here: Atomic Topless Double Industrial Guard Sconce, 975-Galvanized, WGG-Wire Guard, SMK-Smoke Crackle Glass) 1000 667 69284
57055 62260 product 0 69288 A 3 C 0 0 Standard_Cast_Guard_-_Streamline_Industrial_Guard_Sconce_-_Barn_Light_Electric_Bathroom_Vanity_Sconce_Lighting.jpg Standard Cast Guard (Displayed Here: Streamline Industrial Guard Sconce, 100-Black, No Shade, CGG-Standard Cast Guard, FST-Frosted Glass) 667 1000 69288
61815 64693 product 0 74048 A 3 D 0 0 original-flush-mount-12in-997-raw-brass-200-white.jpg 12" The Original™ Flush Mount, 997-Natural Raw Brass, Mounting in 975-Galvanized 1000 1000 74048
57052 62259 product 0 69285 A 4 C 0 0 Wire_Guard_-_Flush_Mount_Guard_Sconce_-_Barn_Light_Electric_Commercial_Bar_Lighting.jpg Wire Guard (Displayed Here: Flush Mount Guard Sconce, 311-Jadite, WGG-Wire Guard, CLR-Clear Glass | Courtesy of The Garden Table) 768 512 69285
57056 62260 product 0 69289 A 4 C 0 0 Standard_Cast_Guard_-_Industrial_Guard_Sconce_-_Barn_Light_Electric_Bathroom_Vanity_Lighting.png Standard Cast Guard (Displayed Here: Industrial Guard Sconce, 100-Black, Flared Shade, CGG-Standard Cast Guard, Clear Glass | Photo Courtesy of Two Hawks Design & Development) 479 599 69289
61816 64693 product 0 74049 A 4 D 0 0 original-flush-mount-14in-705-navy.jpg 14" The Original™ Flush Mount, 705-Navy 1000 1000 74049
57053 62259 product 0 69286 A 5 C 0 0 Wire_Guard_-_Industrial_Loft_Double_Pendant_-_Barn_Light_Electric_-_Bathroom_Pendant_Lighting-100-Black.jpg Wire Guard (Displayed Here: Industrial Loft Double Pendant, 100-Black, WGG - Wire Guard, Cast Guard Finish Same as Fixture | Photo Courtesy of Erica (@newhomeoldsoul)) 1500 2250 69286
57057 62260 product 0 69290 A 5 C 0 0 Standard_Cast_Guard_-_Industrial_Guard_Pendant_Light_-_Barn_Light_Electric_Kitchen_Pendant_Lighting.jpg Standard Cast Guard (Displayed Here: Industrial Guard Pendant Light, 975-Galvanized, Warehouse Shade, CGG-Standard Cast Guard, CLR-Clear Glass, SBK-Standard Black Cord) 600 840 69290
61817 64693 product 0 74050 A 5 D 0 0 original-flush-mount-24in-307-emerald-green.jpg 24" The Original™ Flush Mount, 307-Emerald Green 1000 1000 74050
57054 62259 product 0 69287 A 6 C 0 0 Wire_Guard_-_Barn_Light_Electric_-_Bathroom_Vanity_Lighting.jpg Wire Guard (Displayed Here: Atomic Topless Double Industrial Guard Sconce, 975-Galvanized, WGG-Wire Guard) 600 900 69287
59547 62260 product 0 71780 A 6 C 0 0 Industrial_Guard_Sconce_-_Barn_Light_Electric_-_Outdoor_Exterior_Lighting_ziln-s0.JPG Standard Cast Guard (Pictured here: Industrial Guard Sconce, 715-Delphite Blue PTMP, CGG-STandard Cast Guard in 975-Galvanized, Frosted Glass, 2700K Color Temp | Photo Courtesy of Studio Baron) 1122 1496 71780
57058 62260 product 0 69291 A 7 C 0 0 Standard_Cast_Guard_-_Industrial_Loft_Double_Pendant_Light_-_Barn_Light_Electric_-_Farmhouse_Bathroom_Vanity_Sconce_Lighting-alt.jpg Standard Cast Guard (Displayed Here: Industrial Loft Double Pendant Light, 105-Textured Black, CGG-Standard Cast Guard, FST-Frosted Glass | Photo Courtesy of @petitesol and Millimeter Photo) 1500 2250 69291
62896 64693 product 0 75129 A 8 C 0 0 DSCF1850-Commercial-Interior-Restaurant-BBQ-Original-18in-975-galvanized-flush-mount.jpg 18" The Original™, 975-Galvanized 1500 2250 75129
54128 64693 product 0 66361 A 10 C 0 0 galvanized-original-warehouse-flush-mount-front-porch-lauren-mcbride-blog-residential-exterior.png 14" The Original™, 975-Galvanized | Photo Courtesy of Lauren McBride Bog (@laurenmcbrideblog) 534 592 66361
35509 64693 product 0 47742 A 11 C 0 0 flush_mount_barn_lights-884x976.jpg 14" The Original™, 975-Galvanized | Customer Submission 884 976 47742
61492 64693 product 0 73725 A 12 C 0 0 The_Original™_Warehouse_Flush_Mount_Pendant_-_100_Black_Barn_Light_Electric_-_Porch_Lighting.jpg 12" The Original™, 601-Chocolate | Photo Courtesy of Homeowner 1500 2000 73725
61493 64693 product 0 73726 A 14 C 0 0 Original™_Warehouse_Flush_Mount_Pendant_-_600_Bronze_Barn_Light_Electric_-_Porch_Lighting.jpg 12" The Original™, 601-Chocolate | Photo Courtesy of Homeowner 1500 2011 73726
56443 64693 product 0 68676 A 15 C 0 0 The_Original™_Warehouse_Flush_Mount_Pendant_-_100-Black_Finish_-_Barn_Light_Electric.png 12" The Original™, 100-Black | Photo Courtesy of Lauren McBride Blog 1050 1312 68676
54129 64693 product 0 66362 A 17 C 0 0 original-warehouse-flush-mount-pendants-front-porch-farmhouse-lauren-mcbride-blog-residential-exterior.png 14" The Original™, 975-Galvanized | Photo Courtesy of Lauren McBride Bog (@laurenmcbrideblog) 457 581 66362
38936 64693 product 0 51169 A 18 C 0 0 flush_mount_lighting-768x512.jpg 12” The Original™, 975-Galvanized, Wire Cage | Customer Submission 768 512 51169
53718 64693 product 0 65951 A 19 C 0 0 Original-warehouse-flush-mount-galvanized-front-porch-shiplap-roof.jpg 14" The Original™, 975-Galvanized | Customer Submission 960 1280 65951
59426 64693 product 0 71659 A 21 C 0 0 Original_Warehouse_Flush_Mount_Pendants_-_Barn_Light_Electric_-_Farmhouse_Vintage_Inspired_Kitchen_Lighting.jpg 14” The Original™, 975-Galvanized, Wire Cage (Also Pictured: Mig Pendant) | Photo Courtesy of Kelley Ash and Hovel Design Studio 962 962 71659
35507 64693 product 0 47740 A 22 C 0 0 d499a016ca9243c014e5d6342d9ed443.jpg 12" The Original™, 975-Galvanized, Wire Cage, 400-Barn Red | Customer Submission 427 640 47740
35508 64693 product 0 47741 A 23 C 0 0 flush_mount_warehouse_cast_guard_laundry.jpg 12" The Original™, 200-White, CGG-Standard Cast Guard, CLR-Clear Glass | Customer Submission 600 783 47741
65594 64693 product 0 77827 A 23 C 0 0 commercial_original_warehouse_flush_mount_pendant_white_schoolhouse__11_-bomber-flush-mount-commercial-interior-school.jpg 16" The Original™, 200-White, Wire Cage, 975-Galvanized | Customer Submission 4050 2700 77827