SELECT 
  cscart_images.*, 
  cscart_images_links.*, 
  cscart_common_descriptions.description AS alt, 
  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 = 'M' 
  AND cscart_images_links.object_id IN (
    262859, 262860, 262852, 262854, 262856, 
    262858, 262924, 264649, 264651, 359697, 
    359704, 359698, 359699, 359700, 262345, 
    264652, 264654, 359715, 359716, 359717, 
    359718, 359719, 264355, 264357, 262341, 
    262509, 359780, 359784, 359788, 359792, 
    359796, 359783, 359723, 359725, 359724, 
    359727, 265053, 265054, 265057, 265058, 
    265022, 265023, 265024, 265026, 359705, 
    359708, 359706, 359707, 388351, 388352, 
    388355, 388356, 359795, 265025, 265052, 
    265059
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00249

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "324.81"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "56.00"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_images_links",
            "access_type": "range",
            "possible_keys": [
              "object_id"
            ],
            "key": "object_id",
            "used_key_parts": [
              "object_id",
              "object_type",
              "type"
            ],
            "key_length": "81",
            "rows_examined_per_scan": 56,
            "rows_produced_per_join": 56,
            "filtered": "100.00",
            "index_condition": "((`webmarco`.`cscart_images_links`.`object_type` = 'product') and (`webmarco`.`cscart_images_links`.`type` = 'M') and (`webmarco`.`cscart_images_links`.`object_id` in (262859,262860,262852,262854,262856,262858,262924,264649,264651,359697,359704,359698,359699,359700,262345,264652,264654,359715,359716,359717,359718,359719,264355,264357,262341,262509,359780,359784,359788,359792,359796,359783,359723,359725,359724,359727,265053,265054,265057,265058,265022,265023,265024,265026,359705,359708,359706,359707,388351,388352,388355,388356,359795,265025,265052,265059)))",
            "cost_info": {
              "read_cost": "123.21",
              "eval_cost": "11.20",
              "prefix_cost": "134.41",
              "data_read_per_join": "5K"
            },
            "used_columns": [
              "pair_id",
              "object_id",
              "object_type",
              "image_id",
              "detailed_id",
              "type",
              "position"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_images",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "image_id"
            ],
            "key_length": "4",
            "ref": [
              "webmarco.cscart_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 56,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "56.00",
              "eval_cost": "11.20",
              "prefix_cost": "201.61",
              "data_read_per_join": "42K"
            },
            "used_columns": [
              "image_id",
              "image_path",
              "image_x",
              "image_y",
              "is_high_res"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_common_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "object_id",
              "lang_code",
              "object_holder"
            ],
            "key_length": "108",
            "ref": [
              "webmarco.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 56,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "56.00",
              "eval_cost": "11.20",
              "prefix_cost": "268.81",
              "data_read_per_join": "33K"
            },
            "used_columns": [
              "object_id",
              "description",
              "lang_code",
              "object_holder"
            ]
          }
        }
      ]
    }
  }
}

Result

image_id image_path image_x image_y is_high_res pair_id object_id object_type detailed_id type position alt images_image_id
0 domain-brokerage-social-share-image-1024x603-1.jpg 1024 603 N 1311978 262852 product 340547 M 0 340547
0 domain-brokerage-social-share-image-1024x603-1.jpg 1024 603 N 1311980 262854 product 340547 M 0 340547
0 domain-brokerage-social-share-image-1024x603-1.jpg 1024 603 N 1311982 262856 product 340547 M 0 340547
0 domain-brokerage-social-share-image-1024x603-1.jpg 1024 603 N 1311984 262858 product 340547 M 0 340547
0 domain-brokerage-social-share-image-1024x603-1.jpg 1024 603 N 1311985 262859 product 340547 M 0 340547
0 domain-brokerage-social-share-image-1024x603-1.jpg 1024 603 N 1311986 262860 product 340547 M 0 340547
0 2019-08-01-12-52-www.riverworksmarketing.com__2a8y-in.png 772 772 N 1315776 262924 product 342452 M 0 342452
0 screenshot-2.jpg 700 525 N 1319192 262345 product 342863 M 0 342863
0 Custom_Payment_Methods.png 500 500 N 1343298 262341 product 345125 M 0 345125
0 Custom_Payment_Methods_wjk3-0n.png 500 500 N 1343299 262509 product 345126 M 0 345126
0 marco_order.png 500 500 N 1344563 264355 product 345565 M 0 345565
0 marco_order.png 500 500 N 1344566 264357 product 345565 M 0 345565
0 2019-08-01-12-52-www.riverworksmarketing.com__2a8y-in.png 772 772 N 1350034 264649 product 342452 M 0 342452
0 2019-08-01-12-52-www.riverworksmarketing.com__2a8y-in.png 772 772 N 1350036 264651 product 342452 M 0 342452
0 screenshot-2.jpg 700 525 N 1350074 264652 product 342863 M 0 342863
0 screenshot-2.jpg 700 525 N 1350076 264654 product 342863 M 0 342863
0 amazonebay.png 500 500 N 1437879 265022 product 353619 M 0 353619
0 amazonebay.png 500 500 N 1437880 265023 product 353619 M 0 353619
0 amazonebay.png 500 500 N 1437881 265024 product 353619 M 0 353619
0 amazonebay.png 500 500 N 1437882 265025 product 353619 M 0 353619
0 amazonebay.png 500 500 N 1437883 265026 product 353619 M 0 353619
0 logo.png 500 500 N 1497269 265052 product 362453 M 0 362453
0 video.png 500 500 N 1499595 265053 product 363005 M 0 363005
0 video.png 500 500 N 1500591 265054 product 363005 M 0 363005
0 video.png 500 500 N 1500594 265057 product 363005 M 0 363005
0 video.png 500 500 N 1500595 265058 product 363005 M 0 363005
0 logo.png 500 500 N 1501323 265059 product 362453 M 0 362453
0 static.jpg 500 500 N 2959072 359697 product 943768 M 0 943768
0 static.jpg 500 500 N 2959073 359698 product 943768 M 0 943768
0 static.jpg 500 500 N 2959074 359699 product 943768 M 0 943768
0 static.jpg 500 500 N 2959075 359700 product 943768 M 0 943768
0 static.jpg 500 500 N 2959079 359704 product 943768 M 0 943768
0 reels_obdz-c7.jpg 500 500 N 2959086 359705 product 943770 M 0 943770
0 reels_y9hu-1u.jpg 500 500 N 2959087 359706 product 943771 M 0 943771
0 reels_6vha-bo.jpg 500 500 N 2959088 359707 product 943772 M 0 943772
0 reels_1jle-ri.jpg 500 500 N 2959089 359708 product 943773 M 0 943773
0 google_ads_hp5g-p5.jpg 500 500 N 2959224 359715 product 943781 M 0 943781
0 google_ads_hp5g-p5.jpg 500 500 N 2959225 359716 product 943781 M 0 943781
0 google_ads_hp5g-p5.jpg 500 500 N 2959226 359717 product 943781 M 0 943781
0 google_ads_hp5g-p5.jpg 500 500 N 2959227 359718 product 943781 M 0 943781
0 google_ads_hp5g-p5.jpg 500 500 N 2959228 359719 product 943781 M 0 943781
0 fbadd.jpg 500 500 N 2959232 359723 product 943782 M 0 943782
0 fbadd.jpg 500 500 N 2959233 359724 product 943782 M 0 943782
0 fbadd.jpg 500 500 N 2959234 359725 product 943782 M 0 943782
0 fbadd.jpg 500 500 N 2959236 359727 product 943782 M 0 943782
0 acstfb_efq0-4v.jpg 500 500 N 2966066 359780 product 944006 M 0 944006
0 acstfb_efq0-4v.jpg 500 500 N 2966449 359783 product 944006 M 0 944006
0 acstig_v08b-y6.jpg 500 500 N 2966561 359784 product 944017 M 0 944017
0 acstyt_ag0h-78.jpg 500 500 N 2966597 359788 product 944022 M 0 944022
0 acstfbig_olt9-az.jpg 500 500 N 2966664 359792 product 944027 M 0 944027
0 acstfbig_kdqo-ee.jpg 500 500 N 2966667 359795 product 944030 M 0 944030
0 acstfbigyt_8zwz-ay.jpg 500 500 N 2966700 359796 product 944032 M 0 944032
0 Email-Starter.jpg 772 772 N 3271959 388351 product 1086988 M 0 1086988
0 Email-Starter.jpg 772 772 N 3272025 388352 product 1086988 M 0 1086988
0 Email-Pro_u552-t2.jpg 772 772 N 3272194 388355 product 1086994 M 0 1086994
0 uLTIMATE-eMAIL_sqe8-zr.jpg 772 772 N 3272228 388356 product 1086996 M 0 1086996