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 (
    '38189', '38190', '38191', '38192', 
    '38193', '38194', '38195', '38198', 
    '38202', '38203', '38204', '38205', 
    '38206', '38207', '38208', '38209'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00102

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "184.01"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "35.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": 35,
            "rows_produced_per_join": 35,
            "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 ('38189','38190','38191','38192','38193','38194','38195','38198','38202','38203','38204','38205','38206','38207','38208','38209')))",
            "cost_info": {
              "read_cost": "58.01",
              "eval_cost": "7.00",
              "prefix_cost": "65.01",
              "data_read_per_join": "3K"
            },
            "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": 35,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "35.00",
              "eval_cost": "7.00",
              "prefix_cost": "107.01",
              "data_read_per_join": "26K"
            },
            "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": 35,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "35.00",
              "eval_cost": "7.00",
              "prefix_cost": "149.01",
              "data_read_per_join": "20K"
            },
            "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 paco-olympea-womenintense-600x811.jpg 600 811 N 59340 38191 product 61296 M 0 61296
0 41azFtHI13L.jpg 500 500 N 59342 38193 product 61298 M 0 61298
0 nicolai-patchouliintense-600x536.jpg 600 536 N 59343 38189 product 61299 M 0 61299
0 parfums-de-marly-sedbury-edp-12-ml-vails.jpg 800 800 N 59344 38194 product 61300 M 0 61300
0 premiere-note-ambre-kashmir-eau-de-parfum-en.jpg 560 560 N 59345 38195 product 61301 M 0 61301
0 download_jzb5-kr.jpg 260 300 N 62005 38190 product 63961 M 0 63961
0 3fd6c9cb384c07155207099a8b075e3d.png 280 280 N 62572 38209 product 64528 M 0 64528
0 bfbd9db080f399b08ff8ae405edfea4b.png 280 280 N 62574 38208 product 64530 M 0 64530
0 1-5_1_31.jpg 519 519 N 62576 38207 product 64532 M 0 64532
0 90fc2134edd2a6ca0db780173a0b8895.png 280 280 N 62577 38206 product 64533 M 0 64533
0 177c6a8a6aa028fc24bd111f70d45e39.jpg 280 280 N 62578 38205 product 64534 M 0 64534
0 mini_crystal_1011_Online_Shopping_in_Pakistan-1000x1000.jpg 1000 1000 N 62579 38204 product 64535 M 0 64535
0 050bd8e1a1e654c5c3e89740820d4b2a.jpg 280 280 N 62580 38203 product 64536 M 0 64536
0 61mCHeabQyL._SL1500_.jpg 1500 1500 N 62581 38202 product 64537 M 0 64537
0 375x500.44286.jpg 375 500 N 62582 38198 product 64538 M 0 64538
0 2_e6it-0j.jpg 640 626 N 83052 38192 product 84995 M 0 84995