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 (
    '7336', '7335', '7334', '7333', '7332', 
    '6911', '6194', '6193', '6192', '6188', 
    '6186', '6185', '6184', '6176', '6175', 
    '6174'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00152

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "121.61"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "22.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": 22,
            "rows_produced_per_join": 22,
            "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 ('7336','7335','7334','7333','7332','6911','6194','6193','6192','6188','6186','6185','6184','6176','6175','6174')))",
            "cost_info": {
              "read_cost": "42.41",
              "eval_cost": "4.40",
              "prefix_cost": "46.81",
              "data_read_per_join": "2K"
            },
            "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": 22,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "22.00",
              "eval_cost": "4.40",
              "prefix_cost": "73.21",
              "data_read_per_join": "16K"
            },
            "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": 22,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "22.00",
              "eval_cost": "4.40",
              "prefix_cost": "99.61",
              "data_read_per_join": "13K"
            },
            "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 men_in_blue_3.jpg 1000 1000 N 11594 6174 product 13556 A 1 13556
0 radgba_lattafa.jpg 900 900 N 11595 6175 product 13557 A 1 13557
0 lady_in_Blue_2.jpg 1000 1000 N 11597 6176 product 13559 A 1 13559
0 ice_dive_2.jpg 848 896 N 11607 6184 product 13569 A 1 13569
0 dynamic_2.jpg 868 796 N 11609 6185 product 13571 A 1 13571
0 aayn_2.jpg 1000 1000 N 11614 6188 product 13576 A 1 13576
0 khaa_3.jpg 1000 1000 N 11618 6192 product 13580 A 1 13580
0 najoum_Al_Arab_1.jpg 1000 1000 N 11626 6193 product 13588 A 1 13588
0 lahazat_1.jpg 1000 1000 N 11628 6194 product 13590 A 1 13590
0 12014033-1404645308258306.jpg 1600 1600 N 13644 6911 product 15606 A 1 15606
0 mirath_Al_arab_2.jpg 1000 1000 N 14336 7332 product 16298 A 1 16298
0 nafahat_sharqia_2.jpg 1000 1000 N 14339 7333 product 16301 A 1 16301
0 HAnoon_al_Qalb_3.jpg 1000 1000 N 14342 7334 product 16304 A 1 16304
0 Wida_Al_Muteen_2.jpg 1000 1000 N 14345 7335 product 16307 A 1 16307
0 men_in_blue_1.jpg 1000 1000 N 11592 6174 product 13554 A 2 13554
0 ice_dive_1.jpg 1000 1000 N 11606 6184 product 13568 A 2 13568
0 dynamic_1.jpg 792 1218 N 11608 6185 product 13570 A 2 13570
0 aayn_3.jpg 1000 1000 N 11615 6188 product 13577 A 2 13577
0 khaa1.jpg 1000 1000 N 11619 6192 product 13581 A 2 13581
0 mirath_Al_Arab_1.jpg 1000 1000 N 14337 7332 product 16299 A 2 16299
0 nafahat_sharqia_3.jpg 1000 1000 N 14340 7333 product 16302 A 2 16302
0 hanoon_al_Qalb_2.jpg 1000 1000 N 14343 7334 product 16305 A 2 16305
0 Wida_Al_Muteen_3.jpg 1000 1000 N 14346 7335 product 16308 A 2 16308
0 men_in_blue_2.jpg 1000 1000 N 11593 6174 product 13555 A 3 13555
0 khaa2.jpg 1000 1000 N 11620 6192 product 13582 A 3 13582
0 YSL_Video1_1280x720.jpg 1280 720 N 13645 6911 product 15607 A 3 15607