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 (
    '29843', '29844', '29845', '29846', 
    '29847', '29848', '29849', '29850', 
    '29851', '29852', '29853', '29854', 
    '29855', '29856', '29857', '29858'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00093

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "275.21"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "54.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": 54,
            "rows_produced_per_join": 54,
            "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 ('29843','29844','29845','29846','29847','29848','29849','29850','29851','29852','29853','29854','29855','29856','29857','29858')))",
            "cost_info": {
              "read_cost": "80.81",
              "eval_cost": "10.80",
              "prefix_cost": "91.61",
              "data_read_per_join": "5K"
            },
            "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": 54,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "54.00",
              "eval_cost": "10.80",
              "prefix_cost": "156.41",
              "data_read_per_join": "41K"
            },
            "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": 54,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "54.00",
              "eval_cost": "10.80",
              "prefix_cost": "221.21",
              "data_read_per_join": "32K"
            },
            "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 41RWh2BJv4L._SY395_.jpg 395 395 N 47385 29858 product 49347 M 0 49347
0 31_NnWHfr4L.jpg 500 321 N 47386 29857 product 49348 M 0 49348
0 41KLXqwolcL.jpg 500 463 N 47387 29856 product 49349 M 0 49349
0 315S9Bo-aUL.jpg 500 429 N 47389 29855 product 49351 M 0 49351
0 51tyt_jCbXL._SX522_.jpg 522 352 N 47390 29854 product 49352 M 0 49352
0 31swUo9_IFL.jpg 500 472 N 47391 29853 product 49353 M 0 49353
0 81IZb_nUn9L._SL1500_.jpg 1500 1500 N 47392 29852 product 49354 M 0 49354
0 31Aa1SUiAVL.jpg 500 454 N 47393 29851 product 49355 M 0 49355
0 511SR_YuUqL.jpg 491 500 N 47394 29850 product 49356 M 0 49356
0 31HKLYIWe-L.jpg 467 500 N 47395 29849 product 49357 M 0 49357
0 41AQXKG0LIL.jpg 500 463 N 47396 29848 product 49358 M 0 49358
0 316gBXe2d7L.jpg 486 500 N 47397 29847 product 49359 M 0 49359
0 31K36xPzWSL.jpg 500 499 N 47398 29846 product 49360 M 0 49360
0 41n1C15IGyL.jpg 485 500 N 47399 29845 product 49361 M 0 49361
0 31LnH5ItwyL.jpg 500 500 N 47400 29844 product 49362 M 0 49362
0 51Pr_axXUOL.jpg 500 500 N 47401 29843 product 49363 M 0 49363