SELECT 
  cscart_images.*, 
  cscart_images_links.*, 
  cscart_common_descriptions.description AS alt, 
  cscart_images.image_id AS images_image_id 
FROM 
  cscart_images_links 
  LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id 
  LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id 
  AND cscart_common_descriptions.object_holder = 'images' 
  AND cscart_common_descriptions.lang_code = 'es' 
WHERE 
  cscart_images_links.object_type = 'product' 
  AND cscart_images_links.type = 'M' 
  AND cscart_images_links.object_id IN (
    367, 402, 403, 404, 405, 406, 407, 408, 
    409, 410, 411, 412, 413, 414, 415, 416
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00047

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.090051551,
    "nested_loop": [
      {
        "read_sorted_file": {
          "filesort": {
            "sort_key": "cscart_images_links.position, cscart_images_links.pair_id",
            "table": {
              "table_name": "cscart_images_links",
              "access_type": "range",
              "possible_keys": ["object_id"],
              "key": "object_id",
              "key_length": "81",
              "used_key_parts": ["object_id", "object_type", "type"],
              "loops": 1,
              "rows": 16,
              "cost": 0.03728648,
              "filtered": 100,
              "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (367,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416)"
            }
          }
        }
      },
      {
        "table": {
          "table_name": "cscart_images",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "4",
          "used_key_parts": ["image_id"],
          "ref": ["u428615623_ecartifygonje.cscart_images_links.detailed_id"],
          "loops": 16,
          "rows": 1,
          "cost": 0.01758784,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "cscart_common_descriptions",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "108",
          "used_key_parts": ["object_id", "lang_code", "object_holder"],
          "ref": [
            "u428615623_ecartifygonje.cscart_images.image_id",
            "const",
            "const"
          ],
          "loops": 16,
          "rows": 1,
          "cost": 0.02496064,
          "filtered": 100,
          "attached_condition": "trigcond(cscart_common_descriptions.object_holder = 'images' and cscart_common_descriptions.lang_code = 'es' and trigcond(cscart_images.image_id is not null))"
        }
      }
    ]
  }
}

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 sugarcane_-_Edited.png 1000 1130 N 677 367 product 9169 M 0 9169
0 Caramel_1_6the-32.png 1024 1536 N 688 402 product 9179 M 0 9179
0 Lemon_Lime1_-_Edited.png 1000 1130 N 702 405 product 9180 M 0 9180
0 Cola1_-_Edited.png 1000 1130 N 703 404 product 9181 M 0 9181
0 Orange1_-_Edited.png 1000 1130 N 704 406 product 9182 M 0 9182
0 Pineapple1_-_Edited.png 1000 1130 N 705 407 product 9183 M 0 9183
0 Rootbeer1_-_Edited.png 1000 1130 N 706 408 product 9184 M 0 9184
0 hazelnut_-_Edited_qibp-kv.png 1000 1130 N 707 409 product 9185 M 0 9185
0 vanilla_-_Edited_jmx9-oi.png 1000 1130 N 708 410 product 9186 M 0 9186
0 passionfruit_-_Edited_c37o-kz.png 1000 1130 N 709 411 product 9187 M 0 9187
0 lychee_-_Edited_0xyr-ao.png 1000 1130 N 710 412 product 9188 M 0 9188
0 peach_1_-_Edited_e73v-wd.png 1000 1130 N 711 413 product 9189 M 0 9189
0 yuzu_-_Edited_edi9-qc.png 1000 1130 N 712 414 product 9190 M 0 9190
0 Strawberry1_-_Edited_9g2v-kh.png 1000 1130 N 713 415 product 9191 M 0 9191
0 mango_-_Edited_cs4j-pp.png 1000 1130 N 715 403 product 9192 M 0 9192
0 Salted_g9ii-fz.png 1024 1536 N 716 416 product 9193 M 0 9193