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 = 'A' 
  AND q_images_links.object_id IN (
    '8211', '8212', '8213', '8214', '8215', 
    '8216', '8217', '8218', '8219', '8220', 
    '8221', '8222', '8223', '8224', '8225', 
    '8226'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00114

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` = 'A') and (`portal`.`q_images_links`.`object_id` in ('8211','8212','8213','8214','8215','8216','8217','8218','8219','8220','8221','8222','8223','8224','8225','8226')))",
            "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 41kA_FDgEGL._SX466_.jpg 466 466 N 17168 8225 product 19130 A 1 19130
0 41KE5Lo5btL._SX466_.jpg 466 466 N 17169 8225 product 19131 A 2 19131
0 51a9QEYtOKL.jpg 500 383 N 17142 8212 product 19104 A 10 19104
0 41ubw9XNB4L.jpg 500 500 N 17146 8214 product 19108 A 10 19108
0 415iJrf_pTL.jpg 500 499 N 17149 8215 product 19111 A 10 19111
0 413urSbsABL._SX466_.jpg 466 466 N 17159 8221 product 19121 A 10 19121
0 41KBaxYwXUL._SX466_.jpg 466 466 N 17163 8222 product 19125 A 10 19125
0 41V3w-r7XoL._SX466_.jpg 466 466 N 17167 8224 product 19129 A 10 19129
0 5146mo8mg1L._SL1000_.jpg 750 1000 N 17143 8212 product 19105 A 20 19105
0 41j6a36kqlL.jpg 500 500 N 17147 8214 product 19109 A 20 19109
0 61W3sVUL9SL._SL1000_.jpg 1000 1000 N 17150 8215 product 19112 A 20 19112
0 510TvoVDj4L._SX466_.jpg 466 466 N 17160 8221 product 19122 A 20 19122
0 31vFNIwRbZL._SX466_.jpg 466 466 N 17164 8222 product 19126 A 20 19126
0 61n--jt-N3L._SL1000_.jpg 1000 1000 N 17151 8215 product 19113 A 30 19113
0 410qN6PxruL._SX466_.jpg 466 466 N 17161 8221 product 19123 A 30 19123
0 619yyK_Y3pL._SL1000_.jpg 1000 1000 N 17152 8215 product 19114 A 40 19114