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 (
    4068, 4069, 4135, 4136, 4137, 4138, 4139, 
    4140, 4141, 4142, 4143, 3946, 3947, 
    3948, 3949, 3960, 3961, 3959, 4363, 
    3967, 3968, 3969, 3963, 3964, 3950, 
    3951, 4009, 4012, 4013, 3980, 3981, 
    3982, 3983, 3984, 3985, 3986
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00408

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "86.41"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "36.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": 36,
            "rows_produced_per_join": 36,
            "filtered": "100.00",
            "index_condition": "((`dev_yourmart_co_bw`.`cscart_images_links`.`object_type` = 'product') and (`dev_yourmart_co_bw`.`cscart_images_links`.`type` = 'M') and (`dev_yourmart_co_bw`.`cscart_images_links`.`object_id` in (4068,4069,4135,4136,4137,4138,4139,4140,4141,4142,4143,3946,3947,3948,3949,3960,3961,3959,4363,3967,3968,3969,3963,3964,3950,3951,4009,4012,4013,3980,3981,3982,3983,3984,3985,3986)))",
            "cost_info": {
              "read_cost": "21.61",
              "eval_cost": "3.60",
              "prefix_cost": "25.21",
              "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": [
              "dev_yourmart_co_bw.cscart_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 36,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "9.00",
              "eval_cost": "3.60",
              "prefix_cost": "37.81",
              "data_read_per_join": "27K"
            },
            "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": [
              "dev_yourmart_co_bw.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 36,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "9.00",
              "eval_cost": "3.60",
              "prefix_cost": "50.41",
              "data_read_per_join": "21K"
            },
            "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 CF25_a_BRACELET_HORN_CLIPON_TRIANGLES_WHITE_2.jpg 500 500 N 5402 3946 product 6200 M 0 6200
0 CF25_b_BRACELET_HORN_CLIPON_TRIANGLES_2.jpg 500 500 N 5403 3947 product 6201 M 0 6201
0 CF25_c_BRACELET_HORN_CLIPON_BANDS_WHITE_CIRCLE.jpg 500 500 N 5404 3948 product 6202 M 0 6202
0 CF25_d_BRACELET_HORN_CLIPON_BANDS_BLACK.jpg 500 500 N 5405 3949 product 6203 M 0 6203
0 CF37_a_BONE_TOOTHPICK_HOLDER_BLACK.jpg 500 500 N 5406 3950 product 6204 M 0 6204
0 CF37_b_BONE_TOOTHPICK_HOLDER_LIGHT.jpg 500 500 N 5407 3951 product 6205 M 0 6205
0 CF188_b_HORN_CUP_DARK_.jpg 500 500 N 5415 3959 product 6213 M 0 6213
0 CF187_a_HORN_BOWL_LEOPARD_4INCH.jpg 500 500 N 5416 3960 product 6214 M 0 6214
0 CF187_b_HORN_BOWL_4_INCH_BLACK.jpg 500 500 N 5417 3961 product 6215 M 0 6215
0 CF184_b_HORN_SALAD_SERVERS_10_INCH_DECOR_3.jpg 500 500 N 5419 3963 product 6217 M 0 6217
0 CF184_a_HORN_SALAD_SERVERS_10_INCH_DECOR_2.jpg 500 500 N 5420 3964 product 6218 M 0 6218
0 CF181_a_HORN_NAPKIN_RING_WHITE_2.jpg 500 500 N 5423 3967 product 6221 M 0 6221
0 CF181_HORN_NAPKIN_RING_light.jpg 500 500 N 5424 3968 product 6222 M 0 6222
0 CF181_c_HORN_NAPKIN_RING_BLACK.jpg 500 500 N 5425 3969 product 6223 M 0 6223
0 CF86_a_KISSI_BOX_ELE_LID_BATIK_BLACK_3.jpg 500 500 N 5436 3980 product 6234 M 0 6234
0 CF86_B_KISSI_BOX_ELE_LID_ORANGE_1.jpg 500 500 N 5437 3981 product 6235 M 0 6235
0 CF86_c_KISSI_BOX_ELE_LID_RED_1.jpg 500 500 N 5438 3982 product 6236 M 0 6236
0 CF86_d_KISSI_BOX_ELE_LID_RED_ZEBRA.jpg 500 500 N 5439 3983 product 6237 M 0 6237
0 CF115_a_KISSI_SNAKE_BOX_SMALL_PURPLE.jpg 500 500 N 5440 3984 product 6238 M 0 6238
0 CF115_b_KISSI_SNAKE_BOX_BROWN_2.jpg 500 500 N 5441 3985 product 6239 M 0 6239
0 CF115_c_KISSI_SNAKE_BOX_COVER.jpg 500 500 N 5442 3986 product 6240 M 0 6240
0 CF45_NGUNI_HORN_VASE_MOREWHITE-2.jpg 500 500 N 5461 4009 product 6259 M 0 6259
0 ADZ_COVER.jpg 500 500 N 5464 4012 product 6262 M 0 6262
0 ADZ_b01.jpg 500 500 N 5465 4013 product 6263 M 0 6263
0 ABU43_a_DONUT_BEADS_BLUE.jpg 2048 2048 N 5519 4068 product 6317 M 0 6317
0 ABU43_bDONUT_BEADS_WHITE.jpg 2048 2048 N 5520 4069 product 6318 M 0 6318
0 MY03_aRedChevron.jpg 2048 2048 N 5585 4135 product 6383 M 0 6383
0 MY03_bBlack_chevron_on_cream_side.jpg 2048 2048 N 5586 4136 product 6384 M 0 6384
0 MY03_d_Black_triangles_front.jpg 2048 2048 N 5587 4138 product 6385 M 0 6385
0 MY03_eHimba_bracelet_elephant_e.jpg 2048 2048 N 5588 4139 product 6386 M 0 6386
0 MY03_fHimba_braceletGiraffeon_black_f.jpg 2048 2048 N 5589 4140 product 6387 M 0 6387
0 MY03_iBluefish.jpg 2048 2048 N 5590 4142 product 6388 M 0 6388
0 MY03_jBlue_crocodile.jpg 2048 2048 N 5591 4143 product 6389 M 0 6389
0 MY03_BANGLE.jpg 2048 2048 N 10161 4137 product 10907 M 0 10907
0 MY03_g_Himba_bracelet_Rhino_g.jpg 2048 2048 N 10162 4141 product 10908 M 0 10908
0 CF188_b_HORN_CUP_DARK_.jpg 500 500 N 10475 4363 product 11221 M 0 11221