SELECT 
  q_images.*, 
  q_images_links.*, 
  q_common_descriptions.description AS alt, 
  q_images.image_id AS images_image_id 
FROM 
  q_images_links 
  LEFT JOIN q_images ON q_images_links.detailed_id = q_images.image_id 
  LEFT JOIN q_common_descriptions ON q_common_descriptions.object_id = q_images.image_id 
  AND q_common_descriptions.object_holder = 'images' 
  AND q_common_descriptions.lang_code = 'en' 
WHERE 
  q_images_links.object_type = 'product' 
  AND q_images_links.type = 'M' 
  AND q_images_links.object_id IN (
    '2393', '2394', '2396', '2397', '2398', 
    '2399', '2403', '2020', '2032', '2042', 
    '2058', '1848', '1856', '1868', '1878', 
    '1886'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00125

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "92.81"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "16.00"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "q_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": 16,
            "rows_produced_per_join": 16,
            "filtered": "100.00",
            "index_condition": "((`portal`.`q_images_links`.`object_type` = 'product') and (`portal`.`q_images_links`.`type` = 'M') and (`portal`.`q_images_links`.`object_id` in ('2393','2394','2396','2397','2398','2399','2403','2020','2032','2042','2058','1848','1856','1868','1878','1886')))",
            "cost_info": {
              "read_cost": "35.21",
              "eval_cost": "3.20",
              "prefix_cost": "38.41",
              "data_read_per_join": "1K"
            },
            "used_columns": [
              "pair_id",
              "object_id",
              "object_type",
              "image_id",
              "detailed_id",
              "type",
              "position"
            ]
          }
        },
        {
          "table": {
            "table_name": "q_images",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "image_id"
            ],
            "key_length": "4",
            "ref": [
              "portal.q_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 16,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "16.00",
              "eval_cost": "3.20",
              "prefix_cost": "57.61",
              "data_read_per_join": "12K"
            },
            "used_columns": [
              "image_id",
              "image_path",
              "image_x",
              "image_y",
              "is_high_res"
            ],
            "attached_condition": "<if>(is_not_null_compl(q_images), (`portal`.`q_images_links`.`detailed_id` = `portal`.`q_images`.`image_id`), true)"
          }
        },
        {
          "table": {
            "table_name": "q_common_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "object_id",
              "lang_code",
              "object_holder"
            ],
            "key_length": "107",
            "ref": [
              "portal.q_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 16,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "16.00",
              "eval_cost": "3.20",
              "prefix_cost": "76.81",
              "data_read_per_join": "9K"
            },
            "used_columns": [
              "object_id",
              "description",
              "lang_code",
              "object_holder"
            ],
            "attached_condition": "<if>(is_not_null_compl(q_common_descriptions), (`portal`.`q_common_descriptions`.`object_id` = `portal`.`q_images`.`image_id`), true)"
          }
        }
      ]
    }
  }
}

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 007-1.jpg 800 800 N 4854 2058 product 6828 M 0 6828
0 dress0195-1.jpg 900 1200 N 5615 2393 product 7586 M 0 7586
0 dress0131-1.jpg 1500 1500 N 5620 2397 product 7591 M 0 7591
0 dress0121-1.jpg 529 529 N 5623 2398 product 7594 M 0 7594
0 100500-1.jpg 824 1200 N 5626 2399 product 7597 M 0 7597
0 100318.jpg 900 1200 N 5642 2403 product 7613 M 0 7613
0 item_XXL_47494716_c1f4780f342d9.jpg 750 1145 N 8257 2396 product 10222 M 0 10222
0 1218-blue2_c6dh-oz.jpg 850 1200 N 83446 1848 product 6862 M 0 6862
0 ladies_shirt_web.jpg 640 626 N 83450 1856 product 39647 M 0 39647
0 1362-blue_muh8-4c.jpg 900 1200 N 83451 2020 product 6908 M 0 6908
0 1260-black1_evk9-2d.jpg 832 1200 N 83456 1868 product 6943 M 0 6943
0 1222-blue2_xror-2n.jpg 800 800 N 83460 1878 product 6971 M 0 6971
0 1026-white1_4zuk-sg.jpg 514 800 N 83464 1886 product 7052 M 0 7052
0 1215-red2_2lns-op.jpg 900 1200 N 83520 2032 product 7241 M 0 7241
0 1214-red1_3v43-e9.jpg 900 1200 N 83554 2042 product 7313 M 0 7313
0 41Sl0LykiWL._AC_.jpg 235 500 N 83587 2394 product 83509 M 0 83509