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 (
    '9549', '9550', '9551', '9552', '9553', 
    '9554', '9555', '9556', '9557', '9558', 
    '9559', '9560', '9561', '9562', '9563', 
    '9564'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00189

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "116.81"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "21.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": 21,
            "rows_produced_per_join": 21,
            "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 ('9549','9550','9551','9552','9553','9554','9555','9556','9557','9558','9559','9560','9561','9562','9563','9564')))",
            "cost_info": {
              "read_cost": "41.21",
              "eval_cost": "4.20",
              "prefix_cost": "45.41",
              "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": 21,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "21.00",
              "eval_cost": "4.20",
              "prefix_cost": "70.61",
              "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": 21,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "21.00",
              "eval_cost": "4.20",
              "prefix_cost": "95.81",
              "data_read_per_join": "12K"
            },
            "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 KD-VI-B72IM.jpg 1492 1500 N 20380 9556 product 22342 A 1 22342
0 IRING-IA-VBK1_2_-_Copy.jpg 800 800 N 20387 9563 product 22349 A 1 22349
0 81voSUVZemL._SL1500_.jpg 1500 1500 N 25914 9550 product 27876 A 1 27876
0 IH-KD-PR-142_2_1024x.jpg 1001 1000 N 25916 9551 product 27878 A 1 27878
0 617PTrkmegL._SL1000_.jpg 1000 935 N 25919 9553 product 27881 A 1 27881
0 SW1_360x.jpg 360 360 N 25923 9554 product 27885 A 1 27885
0 81339IwrZUL._SL1500_.jpg 1500 1500 N 25925 9555 product 27887 A 1 27887
0 914wgCRgv4L._SL1500_.jpg 1500 1500 N 25928 9557 product 27890 A 1 27890
0 91iqcKC6u4L._SL1500_.jpg 1500 1500 N 25929 9558 product 27891 A 1 27891
0 81WfqxV-jWL._SL1500_.jpg 1500 1500 N 25983 9559 product 27945 A 1 27945
0 she-iring-dxb-iring-masstige-premium-package-i-love-dubai-1525586823.jpg 60 70 N 26034 9560 product 27996 A 1 27996
0 iRing_-_14k_Gold.jpg 1000 1000 N 26035 9561 product 27997 A 1 27997
0 91o79gEV9gL._SL1500_.jpg 1500 1500 N 25915 9550 product 27877 A 2 27877
0 81gzaVYIz_L._SL1500_.jpg 1500 1500 N 25917 9552 product 27879 A 2 27879
0 SW2_160x160.jpg 143 160 N 25924 9554 product 27886 A 2 27886
0 A1LERMZtZhL._SL1500_.jpg 1500 1500 N 25926 9556 product 27888 A 2 27888
0 91VYCbwXJtL._SL1500_.jpg 1500 1500 N 25984 9559 product 27946 A 2 27946
0 MS-IRING-GOLD-3.jpg 500 500 N 26036 9561 product 27998 A 2 27998
0 iring_ia_mbk1_iring_hook_air_1531410361000_1420928.jpg 500 500 N 26040 9563 product 28002 A 2 28002
0 911LKuBZGOL._SL1500_.jpg 1500 1500 N 25918 9552 product 27880 A 3 27880
0 71GC8ntRihL._SL1500_.jpg 1500 1488 N 25927 9556 product 27889 A 3 27889
0 914ipx0aUtL._SL1500_.jpg 1500 1500 N 25985 9559 product 27947 A 3 27947
0 bkirghok-02.jpg 700 700 N 26041 9563 product 28003 A 3 28003
0 IRING-IS-8-BK1_LS_1024x.jpg 800 800 N 26043 9564 product 28005 A 3 28005