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 (
    '50214', '45834', '45835', '45836', 
    '45837', '45838', '45839', '45840', 
    '45844', '45845', '45846', '45847', 
    '45849', '45850', '45851', '45852'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00156

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "112.01"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "20.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": 20,
            "rows_produced_per_join": 20,
            "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 ('50214','45834','45835','45836','45837','45838','45839','45840','45844','45845','45846','45847','45849','45850','45851','45852')))",
            "cost_info": {
              "read_cost": "40.01",
              "eval_cost": "4.00",
              "prefix_cost": "44.01",
              "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": 20,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "20.00",
              "eval_cost": "4.00",
              "prefix_cost": "68.01",
              "data_read_per_join": "15K"
            },
            "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": 20,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "20.00",
              "eval_cost": "4.00",
              "prefix_cost": "92.01",
              "data_read_per_join": "11K"
            },
            "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 613o5wQjN1L._SL1316_.jpg 972 1316 N 73518 45838 product 75469 M 0 75469
0 61sz11mj3BL._SL1200_.jpg 1200 1000 N 73560 45849 product 75511 M 0 75511
0 51G2YURn4dL._AC_SL1500_.jpg 659 1313 N 73564 45850 product 75515 M 0 75515
0 51G2YURn4dL._AC_SL1500__brhv-uj.jpg 659 1313 N 73568 45850 product 75519 M 0 75519
0 71LB6DcUsgL._AC_SL1500_.jpg 1268 1396 N 73600 45836 product 75551 M 0 75551
0 zook_web.jpg 640 626 N 73940 45844 product 75888 M 0 75888
0 3dxCaEgQ.jpeg 1200 1200 N 76035 45839 product 77978 M 0 77978
0 2_k4vb-qg.jpg 640 626 N 80861 45835 product 82804 M 0 82804
0 2_e78l-21.jpg 640 626 N 80966 45834 product 82909 M 0 82909
0 2_bylg-9y.jpg 640 626 N 81057 45835 product 83000 M 0 83000
0 2_oa99-4a.jpg 640 626 N 81061 45835 product 83004 M 0 83004
0 61VMJ7TZbLL._AC_SL1500_.jpg 609 1500 N 81114 50214 product 83057 M 0 83057
0 2_0n74-1i.jpg 640 626 N 81391 45852 product 83334 M 0 83334
0 2_yc9u-ln.jpg 640 626 N 81549 45837 product 83492 M 0 83492
0 2_hnj8-wc.jpg 640 626 N 81550 45837 product 83493 M 0 83493
0 2_elhm-x2.jpg 640 626 N 81740 45845 product 83683 M 0 83683
0 2_bl89-bj.jpg 640 626 N 82562 45846 product 84505 M 0 84505
0 2_lqj4-r4.jpg 640 626 N 82587 45846 product 84530 M 0 84530
0 2_xivi-76.jpg 640 626 N 82588 45846 product 84531 M 0 84531
0 2_-_Copy.jpg 640 626 N 82974 45851 product 84917 M 0 84917
0 2_-_Copy_ewwv-9f.jpg 640 626 N 82976 45851 product 84919 M 0 84919
0 2_hbzq-r7.jpg 640 626 N 82996 45847 product 84939 M 0 84939
0 2_avat-r7.jpg 640 626 N 83004 45847 product 84947 M 0 84947
0 41QJz_iOmKL._AC_.jpg 498 442 N 85896 45840 product 83626 M 0 83626