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 (
    372040, 381634, 432460, 432472, 432475, 
    432478, 432481, 432484, 432487, 432490, 
    432493, 432462, 432463, 432541, 432542, 
    432547, 432550, 432543, 432544, 432589, 
    432590, 432595, 432593, 432594, 432449, 
    432515, 432518, 432521, 432522, 432523, 
    432419, 432524
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00240

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "185.61"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "32.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": 32,
            "rows_produced_per_join": 32,
            "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 (372040,381634,432460,432472,432475,432478,432481,432484,432487,432490,432493,432462,432463,432541,432542,432547,432550,432543,432544,432589,432590,432595,432593,432594,432449,432515,432518,432521,432522,432523,432419,432524)))",
            "cost_info": {
              "read_cost": "70.41",
              "eval_cost": "6.40",
              "prefix_cost": "76.81",
              "data_read_per_join": "3K"
            },
            "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": 32,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "32.00",
              "eval_cost": "6.40",
              "prefix_cost": "115.21",
              "data_read_per_join": "24K"
            },
            "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": 32,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "32.00",
              "eval_cost": "6.40",
              "prefix_cost": "153.61",
              "data_read_per_join": "19K"
            },
            "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 37.JPG 2268 3024 N 3141470 372040 product 1023966 M 0 1023966
0 24,90_1.JPG 2104 2135 N 3194194 381634 product 1055938 M 0 1055938
0 Untitled_design__20_.png 600 600 N 3872973 432419 product 1543970 M 0 1543970
0 Untitled_design__22_.png 600 600 N 3873036 432449 product 1543973 M 0 1543973
0 Untitled_design__23_.png 600 600 N 3873065 432460 product 1543978 M 0 1543978
0 Untitled_design__23_.png 600 600 N 3873069 432462 product 1543978 M 0 1543978
0 Untitled_design__23_.png 600 600 N 3873070 432463 product 1543978 M 0 1543978
0 Untitled_design__23_.png 600 600 N 3873095 432472 product 1543978 M 0 1543978
0 Untitled_design__23_.png 600 600 N 3873098 432475 product 1543978 M 0 1543978
0 Untitled_design__23_.png 600 600 N 3873101 432478 product 1543978 M 0 1543978
0 Untitled_design__23_.png 600 600 N 3873104 432481 product 1543978 M 0 1543978
0 Untitled_design__23_.png 600 600 N 3873107 432484 product 1543978 M 0 1543978
0 Untitled_design__23_.png 600 600 N 3873110 432487 product 1543978 M 0 1543978
0 Untitled_design__23_.png 600 600 N 3873113 432490 product 1543978 M 0 1543978
0 Untitled_design__23_.png 600 600 N 3873116 432493 product 1543978 M 0 1543978
0 Untitled_design__22_.png 600 600 N 3873169 432515 product 1543973 M 0 1543973
0 Untitled_design__22_.png 600 600 N 3873172 432518 product 1543973 M 0 1543973
0 Untitled_design__22_.png 600 600 N 3873175 432521 product 1543973 M 0 1543973
0 Untitled_design__22_.png 600 600 N 3873176 432522 product 1543973 M 0 1543973
0 Untitled_design__20_.png 600 600 N 3873177 432523 product 1543970 M 0 1543970
0 Untitled_design__20_.png 600 600 N 3873178 432524 product 1543970 M 0 1543970
0 Untitled_design__26_.png 600 600 N 3873200 432541 product 1543991 M 0 1543991
0 Untitled_design__33_.png 600 600 N 3873316 432589 product 1544022 M 0 1544022
0 Untitled_design__32_.png 600 600 N 3873317 432590 product 1544021 M 0 1544021
0 Untitled_design__33_.png 600 600 N 3873328 432593 product 1544022 M 0 1544022
0 Untitled_design__33_.png 600 600 N 3873329 432594 product 1544022 M 0 1544022
0 Untitled_design__31_.png 600 600 N 3873338 432595 product 1544020 M 0 1544020
0 Untitled_design__40__21st-6m.png 600 600 N 3873511 432542 product 1544035 M 0 1544035
0 Untitled_design__40__myed-rj.png 600 600 N 3873514 432543 product 1544038 M 0 1544038
0 Untitled_design__40__8q9j-qu.png 600 600 N 3873517 432544 product 1544041 M 0 1544041
0 Untitled_design__39__hj4x-zw.png 600 600 N 3873522 432547 product 1544046 M 0 1544046
0 Untitled_design__41__i95o-vg.png 600 600 N 3873529 432550 product 1544053 M 0 1544053