SELECT 
  cscart_images_links.*, 
  cscart_images.image_path, 
  cscart_common_descriptions.description AS alt, 
  cscart_images.image_x, 
  cscart_images.image_y, 
  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 = 'ro' 
WHERE 
  cscart_images_links.object_type = 'product' 
  AND cscart_images_links.type = 'A' 
  AND cscart_images_links.object_id IN (
    1128285, 1128289, 1129605, 1129852, 
    525901, 1128299, 1199097, 1128294, 
    1129606, 1128290, 1199098, 1128108, 
    1199099, 1199095, 1129597, 1128097
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00148

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "116.33"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "23.00"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_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": 23,
            "rows_produced_per_join": 23,
            "filtered": "100.00",
            "index_condition": "((`maniamall_cscart`.`cscart_images_links`.`object_type` = 'product') and (`maniamall_cscart`.`cscart_images_links`.`type` = 'A') and (`maniamall_cscart`.`cscart_images_links`.`object_id` in (1128285,1128289,1129605,1129852,525901,1128299,1199097,1128294,1129606,1128290,1199098,1128108,1199099,1199095,1129597,1128097)))",
            "cost_info": {
              "read_cost": "40.81",
              "eval_cost": "2.30",
              "prefix_cost": "43.11",
              "data_read_per_join": "2K"
            },
            "used_columns": [
              "pair_id",
              "object_id",
              "object_type",
              "image_id",
              "detailed_id",
              "type",
              "position"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_images",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "image_id"
            ],
            "key_length": "3",
            "ref": [
              "maniamall_cscart.cscart_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 23,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "22.91",
              "eval_cost": "2.30",
              "prefix_cost": "68.32",
              "data_read_per_join": "17K"
            },
            "used_columns": [
              "image_id",
              "image_path",
              "image_x",
              "image_y"
            ],
            "attached_condition": "<if>(is_not_null_compl(cscart_images), (`maniamall_cscart`.`cscart_images_links`.`detailed_id` = `maniamall_cscart`.`cscart_images`.`image_id`), true)"
          }
        },
        {
          "table": {
            "table_name": "cscart_common_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "object_id",
              "lang_code",
              "object_holder"
            ],
            "key_length": "107",
            "ref": [
              "maniamall_cscart.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 23,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "22.71",
              "eval_cost": "2.30",
              "prefix_cost": "93.33",
              "data_read_per_join": "13K"
            },
            "used_columns": [
              "object_id",
              "description",
              "lang_code",
              "object_holder"
            ],
            "attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`maniamall_cscart`.`cscart_common_descriptions`.`object_id` = `maniamall_cscart`.`cscart_images`.`image_id`), true)"
          }
        }
      ]
    }
  }
}

Result

pair_id object_id object_type image_id detailed_id type position image_path alt image_x image_y images_image_id
817961 525901 product 0 818198 A 0 perna-decorativa-pufoasa-catifelata-culoare-verde-dimensiune-43x43cm-_ia8b-fa.jpg 383 349 818198
1788614 1128097 product 0 1788863 A 0 73a494604768b353a6444acdff23_ckmv-sa_20us-6r_6u8i-ib.jpg 1000 1000 1788863
1788618 1128097 product 0 1788867 A 0 gri_inchiss.jpg 720 540 1788867
1792890 1128294 product 0 1793139 A 0 vJx8PtF_sesp-c7.jpg 1200 1500 1793139
1792891 1128290 product 0 1793140 A 0 vJx8PtF_q69i-44.jpg 1200 1500 1793140
1792892 1128289 product 0 1793141 A 0 vJx8PtF_nkv9-8o.jpg 1200 1500 1793141
1793238 1129597 product 0 1793487 A 0 73a494604768b353a6444acdff23_ckmv-sa_h4yq-ao.jpg 1000 1000 1793487
1793260 1129605 product 0 1793509 A 0 vJx8PtF_nkv9-8o_6kmw-tz.jpg 1200 1500 1793509
1793263 1129606 product 0 1793512 A 0 vJx8PtF_nkv9-8o_6kmw-tz_gt1z-cl.jpg 1200 1500 1793512
1793683 1129606 product 0 1793932 A 0 Tq7g1VK.jpg 960 640 1793932
1793684 1129605 product 0 1793933 A 0 Tq7g1VK_8gbh-a0.jpg 960 640 1793933
1793687 1128299 product 0 1793936 A 0 Tq7g1VK_32z1-gf.jpg 960 640 1793936
1793689 1128294 product 0 1793938 A 0 Tq7g1VK_ojm9-wv.jpg 960 640 1793938
1793690 1128290 product 0 1793939 A 0 Tq7g1VK_zbiv-yy.jpg 960 640 1793939
1793691 1128289 product 0 1793940 A 0 Tq7g1VK_laod-xm.jpg 960 640 1793940
1793693 1128285 product 0 1793942 A 0 Tq7g1VK_fsce-d1.jpg 960 640 1793942
1795738 1129852 product 0 1795987 A 0 set-perne-decorative-pentru-balansoar-sau-leagan-perna-sezut-180x60--perna-spate-180x60-culoare-galben-.jpg 600 600 1795987
1795739 1129852 product 0 1795988 A 0 pfEwo2J_c5zy-7u.jpg 1500 1245 1795988
1932152 1199095 product 0 1932404 A 0 blue_edited_dim.png 600 600 1932404
1932280 1199097 product 0 1932532 A 0 grey_edited_dim.png 700 700 1932532
1932291 1199098 product 0 1932543 A 0 brown_edited_dim.png 700 700 1932543
3663018 1199099 product 0 3663271 A 0 1_-_Copy.jpg 650 650 3663271