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 (
    '13242', '13243', '13244', '13245', 
    '13246', '13247', '13248', '13249', 
    '13250', '13252', '13253', '13254', 
    '13255', '13256', '13257', '13258'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00115

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 ('13242','13243','13244','13245','13246','13247','13248','13249','13250','13252','13253','13254','13255','13256','13257','13258')))",
            "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 ltp_1308d_1av__16646.1360913732.500.750.jpg 500 500 N 27043 13242 product 29005 M 0 29005
0 sku_456599_1.jpg 700 700 N 27044 13243 product 29006 M 0 29006
0 casio-ladies-analog-date-watch-ltp-1308d-2avdf-citytime86-1809-29-citytime86_2.jpg 800 450 N 27045 13244 product 29007 M 0 29007
0 61r8kSrp8OL._UL1100_.jpg 1100 1100 N 27046 13245 product 29008 M 0 29008
0 A1511.jpg 340 408 N 27047 13246 product 29009 M 0 29009
0 0ec34e320ba4cb659908c5df9c99b662.jpg 700 600 N 27048 13247 product 29010 M 0 29010
0 75539cefcf2792f5ebb1bd4509935a81.jpg 700 600 N 27049 13248 product 29011 M 0 29011
0 d421c1032a0aedbd46b6318cce284e20.jpg 700 600 N 27050 13249 product 29012 M 0 29012
0 348f930db069b411e8b1a18c72f9239e.jpg 700 600 N 27051 13250 product 29013 M 0 29013
0 d74bc3aaa7e650a9f36c4d537958730c.jpg 700 600 N 27053 13252 product 29015 M 0 29015
0 99880ed402872ea86d1ee8109b2c418d.jpg 700 600 N 27054 13253 product 29016 M 0 29016
0 ce7869672f109ad77ace2ad86cba32ee.jpg 700 600 N 27055 13254 product 29017 M 0 29017
0 casio-casio-a1505-ltp-1335d-2avdf.jpg 487 729 N 27056 13255 product 29018 M 0 29018
0 casio-ladies-day-date-stainless-steel-watch-ltp-1335d-4avdf-citytime86-1809-29-citytime86_7.jpg 800 450 N 27057 13256 product 29019 M 0 29019
0 e203a6e95c991f22d6f7f864b96c016d.jpg 700 600 N 27058 13257 product 29020 M 0 29020
0 bcc62c1b13f98a6f66f7ededce040150856bd304_a13816d057a1892cdba8356f213f653ef0ae1b13_Casio_LTP_1335D_7AV_Wrist_Watch_for_Women_02.jpg 512 512 N 27059 13258 product 29021 M 0 29021