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 (
    65803, 65804, 65805, 65813, 65814, 65815
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00088

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 (65803,65804,65805,65813,65814,65815)"
        }
      }
    },
    "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
69275 65803 product 0 81508 A 0 D 0 0 Laramie-studio-pendant-30in-100-black-red-cloth-cord-400-barn-red-standard-guard-clear-glass.jpg 30" Laramie, 100-Black, CGG-Standard Cast Guard, 400-Barn Red, CLR-Clear Glass, CSR-Red Cloth Cord 1000 1000 81508
69297 65805 product 0 81530 A 0 D 0 0 Laramie-chain-pendant-30in-200-white-black-cloth-cord.jpg 30-Laramie, 200-White, Mounting in 100-Black, CSB-Black Cloth Cord 1000 1000 81530
69322 65804 product 0 81555 A 0 D 0 0 Laramie-stem-pendant-30in-200-white-100-black.jpg 30" Laramie, 200-White, Mounting in 100-Black 1000 1000 81555
69348 65814 product 0 81581 A 0 D 0 0 Chestnut-studio-pendant-30in-200-white-black-cloth-cord.jpg 30" Chestnut, 200-White, CSB-Black Cloth Cord 1000 1000 81581
69371 65813 product 0 81604 A 0 D 0 0 Chestnut-chain-pendant-30in-100-black-black-cloth-cord-400-barn-red-standard-guard-ribbed-glass.jpg 30" Chestnut, 100-Black, CGG-Standard Cast Guard, 400-Barn Red, RIB-Ribbed Glass, Mounting in 400-Barn Red, CSB-Black Cloth Cord 1000 1000 81604
69397 65815 product 0 81630 A 0 D 0 0 Chestnut-stem-pendant-30in-100-black-400-barn-red-standard-guard-clear-glass.jpg 30" Chestnut, 100-Black, CGG-Standard Cast Guard, 400-Barn Red, CLR-Clear Glass 1000 1000 81630
69273 65803 product 0 81506 A 1 D 0 0 Laramie-studio-pendant-30in-full-build-311-jadite-black-and-white-cloth-cord.jpg 30" Laramie, 311-Jadite, CSBW-Black & White Cloth Cord 1000 1000 81506
69299 65805 product 0 81532 A 1 D 0 0 Laramie-chain-pendant-30in-311-jadite-brown-and-black-chevron-cord.jpg 30" Laramie, 311-Jadite, CSBB-Black & Brown Cloth Cord 1000 1000 81532
69323 65804 product 0 81556 A 1 D 0 0 Laramie-stem-pendant-30in-full-build-311-jadite.jpg 30" Laramie, 311-Jadite 1000 1000 81556
69353 65814 product 0 81586 A 1 D 0 0 Chestnut-studio-pendant-30in-full-build-311-jadite-black-and-white-cloth-cord.jpg 30" Chestnut, 311-Jadite, CSBW-Black & White Cloth Cord 1000 1000 81586
69374 65813 product 0 81607 A 1 D 0 0 Chestnut-chain-pendant-30in-311-jadite-brown-and-black-chevron-cord-standard-guard-ribbed-glass.jpg 30" Chestnut, 311-Jadite, CGG-Standard Cast Guard, RIB-Ribbed Glass, CSBB-Black & Brown Cloth Cord 1000 1000 81607
69403 65815 product 0 81636 A 1 D 0 0 Chestnut-stem-pendant-30in-full-build-311-jadite.jpg 30" Chestnut, 311-Jadite 1000 1000 81636
69274 65803 product 0 81507 A 2 D 0 0 Laramie-studio-pendant-30in-200-white-black-cloth-cord-100-black-standard-guard-ribbed-glass.jpg 30" Laramie, 200-White, CGG-Standard Cast Guard, 100-Black, RIB-Ribbed Glass, CSB-Black Cloth Cord 1000 1000 81507
69301 65805 product 0 81534 A 2 D 0 0 Laramie-chain-pendant-30in-500-buttery-yellow-black-and-gold-cloth-cord-975-galvanized.jpg 30" Laramie, 500-Buttery Yellow, Mounting in 975-Galvanized, CSBG-Black & Gold Cloth Cord 1000 1000 81534
69324 65804 product 0 81557 A 2 D 0 0 Laramie-stem-pendant-30in-100-black-400-barn-red-standard-guard-clear-glass.jpg 30" Laramie, 100-Black, CGG-Standard Cast Guard, 400-Barn Red, CLR-Clear Glass 1000 1000 81557
69350 65814 product 0 81583 A 2 D 0 0 Chestnut-studio-pendant-30in-500-buttery-yellow-black-white-cloth-cord-standard-guard-ribbed-glass.jpg 30" Chestnut, 500-Buttery Yellow, CGG-Standard Cast Guard, RIB-Ribbed Glass, CSBG-Black & Gold Cloth Cord 1000 1000 81583
69372 65813 product 0 81605 A 2 D 0 0 Chestnut-chain-pendant-30in-200-white-black-cloth-cord.jpg 30" Chestnut, 200-White, Mounting in 100-Black, CSB-Black Cloth Cord 1000 1000 81605
69400 65815 product 0 81633 A 2 D 0 0 Chestnut-stem-pendant-30in-500-buttery-yellow-standard-guard-ribbed-glass.jpg 30" Chestnut, 500-Buttery Yellow, CGG-Standard Cast Guard, RIB-Ribbed Glass 1000 1000 81633
69276 65803 product 0 81509 A 3 D 0 0 Laramie-studio-pendant-30in-390-teal-white-cloth-cord.jpg 30" Laramie, 390-Teal, CSW-White Cloth Cord 1000 1000 81509
69300 65805 product 0 81533 A 3 D 0 0 Laramie-chain-pendant-30in-390-teal-white-cloth-cord-200-white-standard-guard-ribbed-glass.jpg 30" Laramie, 390-Teal, CGG-Standard Cast Guard, 200-White, RIB-Ribbed Glass, CSW-White Cloth Cord 1000 1000 81533
69327 65804 product 0 81560 A 3 D 0 0 Laramie-stem-pendant-30in-500-buttery-yellow-standard-guard-ribbed-glass.jpg 30" Laramie, 500-Buttery Yellow, CGG-Standard Cast Guard, RIB-Ribbed Glass 1000 1000 81560
69349 65814 product 0 81582 A 3 D 0 0 Chestnut-studio-pendant-30in-390-teal-white-cloth-cord.jpg 30" Chestnut, 390-Teal, CSW-White Cloth Cord 1000 1000 81582
69373 65813 product 0 81606 A 3 D 0 0 Chestnut-chain-pendant-30in-300-dark-green-black-and-white-cloth-cord-100-black.jpg 30" Chestnut, 300-Dark Green, Mounting in 100-Black, CSBW-Black & White Cloth Cord 1000 1000 81606
69398 65815 product 0 81631 A 3 D 0 0 Chestnut-stem-pendant-30in-300-dark-green-100-black.jpg 30" Chestnut, 300-Dark Green, Mounting in 100-Black 1000 1000 81631
69286 65803 product 0 81519 A 4 D 0 0 Laramie-studio-pendant-30in-300-dark-green-black-brown-chevron-cord.jpg 30" Laramie, 300-Dark Green, CSBB-Black & Brown Cloth Cord 1000 1000 81519
69296 65805 product 0 81529 A 4 D 0 0 Laramie-chain-pendant-30in-100-black-black-cloth-cord-400-barn-red-standard-guard-ribbed-glass.jpg 30" Laramie, 100-Black, CGG-Standard Cast Guard, 400-Barn Red, RIB-Ribbed Glass, Mounting in 400-Barn Red, CSB-Black Cloth Cord 1000 1000 81529
69325 65804 product 0 81558 A 4 D 0 0 Laramie-stem-pendant-30in-300-dark-green-100-black.jpg 30" Laramie, 300-Dark Green, Mounting in 100-Black 1000 1000 81558
69347 65814 product 0 81580 A 4 D 0 0 Chestnut-studio-pendant-30in-100-black-red-cloth-cord-400-barn-red-standard-guard-clear-glass.jpg 30" Chestnut, 100-Black, CGG-Standard Cast Guard, 400-Barn Red, CLR-Clear Glass, CSR-Red Cloth Cord 1000 1000 81580
69376 65813 product 0 81609 A 4 D 0 0 Chestnut-chain-pendant-30in-500-buttery-yellow-black-and-gold-cloth-cord-975-galvanized-standard-guard-ribbed-glass.jpg 30" Chestnut, 500-Buttery Yellow, CGG-Standard Cast Guard, 975-Galvanized, RIB-Ribbed Glass, Mounting in 975-Galvanized, CSBG-Black & Gold Cloth Cord 1000 1000 81609
69399 65815 product 0 81632 A 4 D 0 0 Chestnut-stem-pendant-30in-390-teal.jpg 30" Chestnut, 390-Teal 1000 1000 81632
69272 65803 product 0 81505 A 5 D 0 0 Laramie-studio-pendant-30in-975-galvanized-gold-and-white-cloth-cord-heavy-duty-guard-ribbed-glass.jpg 30" Laramie, 975-Galvanized, CSGW-Gold & White Cloth Cord, TGG-Heavy Duty Cast Guard, RIB-Ribbed Glass 1000 1000 81505
69303 65805 product 0 81536 A 5 D 0 0 Laramie-chain-pendant-30in-975-galvanized-red-and-white-cloth-cord.jpg 30" Laramie, 975-Galvanized, CSRW-Red & White Cloth Cord 1000 1000 81536
69328 65804 product 0 81561 A 5 D 0 0 Laramie-stem-pendant-30in-975-galvanized.jpg 30" Laramie, 975-Galvanized 1000 1000 81561
69352 65814 product 0 81585 A 5 D 0 0 Chestnut-studio-pendant-30in-975-galvanized-gold-and-white-cloth-cord-heavy-duty-guard-ribbed-glass.jpg 30" Chestnut, 975-Galvanized, TGG-Heavy Duty Cast Guard, RIB-Ribbed Glass, CSGW-Gold & White Cloth Cord 1000 1000 81585
69375 65813 product 0 81608 A 5 D 0 0 Chestnut-chain-pendant-30in-390-teal-white-cloth-cord_jryr-d1.jpg 30" Chestnut, 390-Teal, CSW-White Cloth Cord 1000 1000 81608
69402 65815 product 0 81635 A 5 D 0 0 Chestnut-stem-pendant-30in-975-galvanized-heavy-duty-guard-ribbed-glass.jpg 30" Chestnut, 975-Galvanized, TGG-Heavy Duty Cast Guard, RIB-Ribbed Glass 1000 1000 81635
69277 65803 product 0 81510 A 6 D 0 0 Laramie-studio-pendant-30in-705-navy-blue-and-white-cloth-cord.jpg 30" Laramie, 705-Navy, CSUW-Blue & White Cloth Cord 1000 1000 81510
69302 65805 product 0 81535 A 6 D 0 0 Laramie-chain-pendant-30in-705-navy-gold-and-white-cloth-cord-heavy-duty-guard-ribbed-glass.jpg 30" Laramie, 705-Navy, TGG-Heavy Duty Cast Guard, RIB-Ribbed Glass, CSGW-Gold & White Cloth Cord 1000 1000 81535
69326 65804 product 0 81559 A 6 D 0 0 Laramie-stem-pendant-30in-390-teal.jpg 30" Laramie, 390-Teal 1000 1000 81559
69351 65814 product 0 81584 A 6 D 0 0 Chestnut-studio-pendant-30in-705-navy-blue-and-white-cloth-cord.jpg 30" Chestnut, 705-Navy, CSUW-Blue & White Cloth Cord 1000 1000 81584
69378 65813 product 0 81611 A 6 D 0 0 Chestnut-chain-pendant-30in-975-galvanized-red-and-white-cloth-cord-heavy-duty-guard-ribbed-glass.jpg 30" Chestnut, 975-Galvanized, TGG-Heavy Duty Cast Guard, RIB-Ribbed Glass, CSRW-Red & White Cloth Cord 1000 1000 81611
69401 65815 product 0 81634 A 6 D 0 0 Chestnut-stem-pendant-30in-705-navy.jpg 30" Chestnut, 705-Navy 1000 1000 81634
69377 65813 product 0 81610 A 7 D 0 0 Chestnut-chain-pendant-30in-705-navy-gold-and-white-cloth-cord.jpg 30" Chestnut, 705-Navy, CSGW-Gold & White Cloth Cord 1000 1000 81610