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 = 'category' 
  AND cscart_images_links.type = 'M' 
  AND cscart_images_links.object_id IN (
    20962, 20963, 21108, 21078, 20983, 19425, 
    20813, 21389, 21584, 21154, 21107, 
    21040, 21571, 21017, 19569, 19424
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00317

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "85.02"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "16.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": 16,
            "rows_produced_per_join": 16,
            "filtered": "100.00",
            "index_condition": "((`maniamall_cscart`.`cscart_images_links`.`object_type` = 'category') and (`maniamall_cscart`.`cscart_images_links`.`type` = 'M') and (`maniamall_cscart`.`cscart_images_links`.`object_id` in (20962,20963,21108,21078,20983,19425,20813,21389,21584,21154,21107,21040,21571,21017,19569,19424)))",
            "cost_info": {
              "read_cost": "32.80",
              "eval_cost": "1.60",
              "prefix_cost": "34.40",
              "data_read_per_join": "1K"
            },
            "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": 16,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "15.80",
              "eval_cost": "1.60",
              "prefix_cost": "51.80",
              "data_read_per_join": "12K"
            },
            "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": 16,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "15.62",
              "eval_cost": "1.60",
              "prefix_cost": "69.02",
              "data_read_per_join": "9K"
            },
            "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
1649607 19424 category 0 1649845 M 0 suport-motor-tampon-motor.png 600 400 1649845
1649609 19425 category 0 1649847 M 0 bucse-bara-stabilizatoare.png 600 400 1649847
1650430 19569 category 0 1650668 M 0 pompe-servodirectie.jpg 259 173 1650668
1653389 20813 category 0 1653627 M 0 bucse-brate-suspensie.jpg 600 400 1653627
1653639 20962 category 0 1653877 M 0 amortizoare-suspensie-roti-telescoape.jpg 174 480 1653877
1653642 20963 category 0 1653880 M 0 arcuri-suspensie.jpg 730 548 1653880
1653837 20983 category 0 1654075 M 0 brate-suspensie.jpg 268 300 1654075
1653975 21017 category 0 1654213 M 0 pivoti-brate-suspensie.jpg 1000 1000 1654213
1654115 21040 category 0 1654353 M 0 flanse-si-rulmenti-amortizoare.jpg 600 400 1654353
1654453 21078 category 0 1654691 M 0 bielete-directie.jpg 599 131 1654691
1654815 21107 category 0 1655053 M 0 casete-directie.jpg 901 623 1655053
1654825 21108 category 0 1655063 M 0 bielete-antiruliu.jpg 300 208 1655063
1655244 21154 category 0 1655482 M 0 capeti-de-bara.jpg 398 398 1655482
1657251 21389 category 0 1657489 M 0 burdufuri-caseta-directie.jpg 672 649 1657489
1657896 21571 category 0 1658134 M 0 kit-protectie-praf.jpg 800 796 1658134
1658085 21584 category 0 1658323 M 0 burdufuri-pivoti-si-planetare.jpg 900 900 1658323