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 (
    1002681, 1002498, 1232020, 1232123, 
    1232132, 1231444, 1231691, 1232130, 
    1232131, 1232118, 1231700, 1232128, 
    1232127, 1231692
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00343

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "166.76"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "35.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": 35,
            "rows_produced_per_join": 35,
            "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 (1002681,1002498,1232020,1232123,1232132,1231444,1231691,1232130,1232131,1232118,1231700,1232128,1232127,1231692)))",
            "cost_info": {
              "read_cost": "51.96",
              "eval_cost": "3.50",
              "prefix_cost": "55.46",
              "data_read_per_join": "3K"
            },
            "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": 35,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "34.79",
              "eval_cost": "3.50",
              "prefix_cost": "93.76",
              "data_read_per_join": "26K"
            },
            "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": 35,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "34.50",
              "eval_cost": "3.50",
              "prefix_cost": "131.76",
              "data_read_per_join": "20K"
            },
            "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
1991170 1231444 product 0 1991422 A 0 tambur-mtc-h-buton-albastru-_ag7a-ou.png 682 455 1991422
1991557 1231691 product 0 1991809 A 0 fir-trimer-rotund-16mm-x-15m-_f3u4-id.jpg 682 454 1991809
1991558 1231691 product 0 1991810 A 0 fir-trimer-rotund-16mm-x-15m-_8ycl-p6.jpg 682 454 1991810
1991559 1231691 product 0 1991811 A 0 fir-trimer-rotund-16mm-x-15m-_86u8-hp.jpg 682 454 1991811
1991560 1231691 product 0 1991812 A 0 fir-trimer-rotund-16mm-x-15m-_dadl-c6.jpg 682 454 1991812
1991562 1231692 product 0 1991814 A 0 fir-trimer-rotund-20mm-x-15m-.png 682 455 1991814
1991563 1231692 product 0 1991815 A 0 fir-trimer-rotund-20mm-x-15m-_99pz-3p.jpg 682 454 1991815
1991564 1231692 product 0 1991816 A 0 fir-trimer-rotund-20mm-x-15m-_1iv3-o8.jpg 682 454 1991816
1991565 1231692 product 0 1991817 A 0 fir-trimer-rotund-20mm-x-15m-_q9b9-xq.jpg 682 454 1991817
1991587 1231700 product 0 1991839 A 0 fir-trimer-stea-20mm-x-15m-_2ytr-1z.jpg 682 454 1991839
1991588 1231700 product 0 1991840 A 0 fir-trimer-stea-20mm-x-15m-_00ji-bh.jpg 682 454 1991840
1991589 1231700 product 0 1991841 A 0 fir-trimer-stea-20mm-x-15m-_apqk-oe.jpg 682 454 1991841
1991590 1231700 product 0 1991842 A 0 fir-trimer-stea-20mm-x-15m-_eyul-v1.jpg 682 454 1991842
1992040 1232020 product 0 1992292 A 0 cultivator-28mm9t-pentru-motocositoare-_eim9-n5.png 682 455 1992292
1992041 1232020 product 0 1992293 A 0 cultivator-28mm9t-pentru-motocositoare-_zd1s-9z.png 682 455 1992293
1992042 1232020 product 0 1992294 A 0 cultivator-28mm9t-pentru-motocositoare-_h4zb-cb.png 682 455 1992294
1992043 1232020 product 0 1992295 A 0 cultivator-28mm9t-pentru-motocositoare-_y9fa-4w.png 682 455 1992295
1992216 1232123 product 0 1992468 A 0 fir-trimermtc-helix-2mm-x-15m-_weku-df.jpg 682 454 1992468
1992217 1232123 product 0 1992469 A 0 fir-trimermtc-helix-2mm-x-15m-_17kn-yd.jpg 682 454 1992469
1992218 1232123 product 0 1992470 A 0 fir-trimermtc-helix-2mm-x-15m-_jbff-6r.jpg 682 454 1992470
1992238 1232127 product 0 1992490 A 0 fir-trimermtc-helix-33mm-x-15m-_g9qp-k6.jpg 682 454 1992490
1992239 1232127 product 0 1992491 A 0 fir-trimermtc-helix-33mm-x-15m-_xwru-y6.jpg 682 454 1992491
1992240 1232127 product 0 1992492 A 0 fir-trimermtc-helix-33mm-x-15m-_bidf-dq.jpg 682 454 1992492
1992242 1232128 product 0 1992494 A 0 fir-trimermtc-helix-35mm-x-15m-_9pit-xl.jpg 1200 1200 1992494
1992243 1232128 product 0 1992495 A 0 fir-trimermtc-helix-35mm-x-15m-_ks3a-53.jpg 1200 1200 1992495
1992244 1232128 product 0 1992496 A 0 fir-trimermtc-helix-35mm-x-15m-_aivr-ug.jpg 1200 1200 1992496
1992245 1232128 product 0 1992497 A 0 fir-trimermtc-helix-35mm-x-15m-_x669-3k.jpg 1200 1200 1992497
1992246 1232128 product 0 1992498 A 0 fir-trimermtc-helix-35mm-x-15m-_fvqs-7p.jpg 1200 1200 1992498
1992247 1232128 product 0 1992499 A 0 fir-trimermtc-helix-35mm-x-15m-_hnjo-3m.jpg 1200 1200 1992499
1992256 1232130 product 0 1992508 A 0 fir-trimermtc-cu-insertie-metalica-10m-24mm-_vbac-wy.jpg 682 454 1992508
1992258 1232131 product 0 1992510 A 0 fir-trimermtc-cu-insertie-metalica-10m-27mm-_ghmh-2h.jpg 682 454 1992510
1992260 1232132 product 0 1992512 A 0 fir-trimermtc-cu-insertie-metalica-10m-3mm-_vtag-nd.jpg 682 454 1992512