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 (
    '29201', '29202', '29203', '29204', 
    '29205', '29206', '29207', '29208', 
    '29209', '29210', '29211', '29212', 
    '29213', '29214', '29215', '29216', 
    '29218', '29219', '29220', '29221', 
    '29222', '29223', '29224', '29225', 
    '29226', '29227', '29228', '29229', 
    '29230', '29231', '29232', '29233'
  ) 
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": "540.81"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "106.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": 106,
            "rows_produced_per_join": 106,
            "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 ('29201','29202','29203','29204','29205','29206','29207','29208','29209','29210','29211','29212','29213','29214','29215','29216','29218','29219','29220','29221','29222','29223','29224','29225','29226','29227','29228','29229','29230','29231','29232','29233')))",
            "cost_info": {
              "read_cost": "159.21",
              "eval_cost": "21.20",
              "prefix_cost": "180.41",
              "data_read_per_join": "9K"
            },
            "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": 106,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "106.00",
              "eval_cost": "21.20",
              "prefix_cost": "307.61",
              "data_read_per_join": "81K"
            },
            "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": 106,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "106.00",
              "eval_cost": "21.20",
              "prefix_cost": "434.81",
              "data_read_per_join": "62K"
            },
            "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 61YQs9hkMdL._SL1200_.jpg 1200 1200 N 42150 29232 product 44112 A 1 44112
0 61Fod1trAZL._SL1000_.jpg 1000 1000 N 42166 29221 product 44128 A 1 44128
0 41-PNBgT03L.jpg 493 500 N 42177 29215 product 44139 A 1 44139
0 419BzKj12cL.jpg 500 500 N 42181 29213 product 44143 A 1 44143
0 41sstnm_m-L.jpg 500 500 N 42182 29212 product 44144 A 1 44144
0 61OeLOPEz9L._SL1500_.jpg 1500 1500 N 42197 29204 product 44159 A 1 44159
0 Logitech-Wireless-Touch-Keyboard-K400-Plus-with-Built-In-Touchpad-for-Internet-Connected-TVs.jpg 1500 853 N 50266 29231 product 52227 A 1 52227
0 61Kk6zwQb5L._AC_SL1500_.jpg 1412 1417 N 79899 29205 product 81842 A 1 81842
0 51KzvSOCfdL._AC_.jpg 500 500 N 79901 29206 product 81844 A 1 81844
0 61fx1FHtXWL._AC_SL1200_.jpg 1200 1200 N 79903 29207 product 81846 A 1 81846
0 41dkD0jFrLL.jpg 500 500 N 42183 29212 product 44145 A 2 44145
0 23-126-429-01.jpg 640 480 N 50267 29231 product 52228 A 2 52228
0 B076DDZNDQ-3.jpg 500 500 N 56468 29232 product 58429 A 2 58429
0 61Zkl1tmaJL._AC_SL1500_.jpg 1408 1423 N 79900 29205 product 81843 A 2 81843
0 41ODLjaLd7L._AC_.jpg 500 500 N 79902 29206 product 81845 A 2 81845
0 51tMcjh7svL._AC_SL1000_.jpg 956 844 N 79904 29207 product 81847 A 2 81847
0 51qds8nrdJL.jpg 500 431 N 50268 29231 product 52229 A 3 52229
0 B076DDZNDQ.jpg 500 500 N 56469 29232 product 58430 A 3 58430
0 61tLfzNztxL._AC_SL1000_.jpg 1000 1000 N 79905 29207 product 81848 A 3 81848
0 4150nNvA42L.jpg 500 431 N 50269 29231 product 52230 A 4 52230
0 B076DDZNDQ-4.jpg 500 500 N 56470 29232 product 58431 A 4 58431
0 B076DDZNDQ-5.jpg 500 500 N 56471 29232 product 58432 A 5 58432
0 B076DDZNDQ-6.jpg 500 500 N 56472 29232 product 58433 A 6 58433
0 B076DDZNDQ-7.jpg 790 1344 N 56473 29232 product 58434 A 7 58434
0 B076DDZNDQ-8.jpg 500 404 N 56474 29232 product 58435 A 8 58435
0 B076DDZNDQ-9.jpg 500 391 N 56475 29232 product 58436 A 9 58436