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 (
    36375, 17503, 26416, 21638, 26415, 26414, 
    26413, 26412, 21915, 21914, 21913, 
    21912, 21911, 21910, 21909, 21908, 
    21907, 21634, 60375, 69495, 69496, 
    69497, 69498, 69499, 60376, 69485, 
    69486, 69487, 69488, 69489, 60373, 
    69490, 69491, 69492, 69493, 69494, 
    28503, 27950, 35331, 56528, 56529
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00276

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "107.01"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "45.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": 45,
            "rows_produced_per_join": 45,
            "filtered": "100.00",
            "index_condition": "((`cscartdb`.`cscart_images_links`.`object_type` = 'product') and (`cscartdb`.`cscart_images_links`.`type` = 'M') and (`cscartdb`.`cscart_images_links`.`object_id` in (36375,17503,26416,21638,26415,26414,26413,26412,21915,21914,21913,21912,21911,21910,21909,21908,21907,21634,60375,69495,69496,69497,69498,69499,60376,69485,69486,69487,69488,69489,60373,69490,69491,69492,69493,69494,28503,27950,35331,56528,56529)))",
            "cost_info": {
              "read_cost": "26.01",
              "eval_cost": "4.50",
              "prefix_cost": "30.51",
              "data_read_per_join": "4K"
            },
            "used_columns": [
              "pair_id",
              "object_id",
              "object_type",
              "image_id",
              "detailed_id",
              "type",
              "position",
              "nipple"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_images",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "image_id"
            ],
            "key_length": "4",
            "ref": [
              "cscartdb.cscart_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 45,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "11.25",
              "eval_cost": "4.50",
              "prefix_cost": "46.26",
              "data_read_per_join": "34K"
            },
            "used_columns": [
              "image_id",
              "image_path",
              "image_x",
              "image_y",
              "duplicated"
            ]
          }
        },
        {
          "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": [
              "cscartdb.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 45,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "11.25",
              "eval_cost": "4.50",
              "prefix_cost": "62.01",
              "data_read_per_join": "26K"
            },
            "used_columns": [
              "object_id",
              "description",
              "lang_code",
              "object_holder"
            ]
          }
        }
      ]
    }
  }
}

Result

image_id image_path image_x image_y duplicated pair_id object_id object_type detailed_id type position nipple alt images_image_id
0 il_fullxfull.5003564758_kai8.jpg 3000 3000 181288 21634 product 130921 M 0 130921
0 il_fullxfull.2982424748_lqjg.jpg 3000 2143 181325 21638 product 130958 M 0 130958
0 il_fullxfull.5003564758_kai8.jpg 3000 3000 183680 21907 product 130921 M 0 130921
0 il_fullxfull.5003564758_kai8.jpg 3000 3000 183681 21908 product 130921 M 0 130921
0 il_fullxfull.5003564758_kai8.jpg 3000 3000 183682 21909 product 130921 M 0 130921
0 il_fullxfull.5003564758_kai8.jpg 3000 3000 183683 21910 product 130921 M 0 130921
0 il_fullxfull.5003564758_kai8.jpg 3000 3000 183684 21911 product 130921 M 0 130921
0 il_fullxfull.5003564758_kai8.jpg 3000 3000 183685 21912 product 130921 M 0 130921
0 il_fullxfull.5003564758_kai8.jpg 3000 3000 183686 21913 product 130921 M 0 130921
0 il_fullxfull.5003564758_kai8.jpg 3000 3000 183687 21914 product 130921 M 0 130921
0 il_fullxfull.5003564758_kai8.jpg 3000 3000 183688 21915 product 130921 M 0 130921
0 il_fullxfull.2982424748_lqjg.jpg 3000 2143 198852 26412 product 130958 M 0 130958
0 il_fullxfull.2982424748_lqjg.jpg 3000 2143 198853 26413 product 130958 M 0 130958
0 il_fullxfull.2982424748_lqjg.jpg 3000 2143 198854 26414 product 130958 M 0 130958
0 il_fullxfull.2982424748_lqjg.jpg 3000 2143 198855 26415 product 130958 M 0 130958
0 il_fullxfull.2982424748_lqjg.jpg 3000 2143 198856 26416 product 130958 M 0 130958
0 il_fullxfull.1227636478_p6bt.jpg 1992 2148 211958 27950 product 136525 M 0 136525
0 il_fullxfull.1227636478_p6bt.jpg 1992 2148 216059 28503 product 136525 M 0 136525
0 il_fullxfull.4127941335_ttup.jpg 2000 2000 258570 35331 product 166542 M 0 166542
0 6663622de3a5d_1717788500jpg.jpg 2059 2059 265925 36375 product 116770 M 0 116770
0 6697b8468ef0a_1721219142.jpg 1000 1000 265926 17503 product 172019 M 0 172019
0 il_fullxfull.4080294292_7fkf.jpg 2000 2000 327387 56528 product 166539 M 0 166539
0 il_fullxfull.4127941507_pvy7.jpg 2000 2000 327388 56529 product 166544 M 0 166544
0 IMG_8470.jpg 1767 2650 336636 60373 product 204883 M 0 204883
0 IMG_9277.jpg 2000 1333 336639 60376 product 204886 M 0 204886
0 IMG_9277.jpg 2000 1333 381399 69485 product 204886 M 0 204886
0 IMG_9277.jpg 2000 1333 381400 69486 product 204886 M 0 204886
0 IMG_9277.jpg 2000 1333 381401 69487 product 204886 M 0 204886
0 IMG_9277.jpg 2000 1333 381402 69488 product 204886 M 0 204886
0 IMG_9277.jpg 2000 1333 381403 69489 product 204886 M 0 204886
0 IMG_8470.jpg 1767 2650 381449 69490 product 204883 M 0 204883
0 IMG_8470.jpg 1767 2650 381450 69491 product 204883 M 0 204883
0 IMG_8470.jpg 1767 2650 381451 69492 product 204883 M 0 204883
0 IMG_8470.jpg 1767 2650 381452 69493 product 204883 M 0 204883
0 IMG_8470.jpg 1767 2650 381453 69494 product 204883 M 0 204883
0 66c960b2c0200_1724473522.jpg 2000 1333 381457 60375 product 217374 M 0 217374
0 66c960b2c0200_1724473522.jpg 2000 1333 381514 69495 product 217374 M 0 217374
0 66c960b2c0200_1724473522.jpg 2000 1333 381515 69496 product 217374 M 0 217374
0 66c960b2c0200_1724473522.jpg 2000 1333 381516 69497 product 217374 M 0 217374
0 66c960b2c0200_1724473522.jpg 2000 1333 381517 69498 product 217374 M 0 217374
0 66c960b2c0200_1724473522.jpg 2000 1333 381518 69499 product 217374 M 0 217374