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 = 'en' 
WHERE 
  cscart_images_links.object_type = 'product' 
  AND cscart_images_links.type = 'M' 
  AND cscart_images_links.object_id IN (
    263720, 264940, 264945, 264955, 264946, 
    264947, 264948, 264949, 263772, 264756, 
    264757, 264758, 264759, 264208, 264855, 
    264847, 264848, 264849, 264850, 263981, 
    264764, 264765, 264766, 264767, 264156, 
    264935, 264954, 264927, 264928, 264929, 
    264930, 264226, 264888, 264893, 264889, 
    264890, 264891, 264892, 264851, 264852, 
    264853, 264854, 264304, 264819, 264820, 
    264821, 264822, 264941, 264942, 264943, 
    264944, 264969, 264973, 264977, 264974, 
    264975, 264976
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00145

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "330.61"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "57.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": 57,
            "rows_produced_per_join": 57,
            "filtered": "100.00",
            "index_condition": "((`webmarco`.`cscart_images_links`.`object_type` = 'product') and (`webmarco`.`cscart_images_links`.`type` = 'M') and (`webmarco`.`cscart_images_links`.`object_id` in (263720,264940,264945,264955,264946,264947,264948,264949,263772,264756,264757,264758,264759,264208,264855,264847,264848,264849,264850,263981,264764,264765,264766,264767,264156,264935,264954,264927,264928,264929,264930,264226,264888,264893,264889,264890,264891,264892,264851,264852,264853,264854,264304,264819,264820,264821,264822,264941,264942,264943,264944,264969,264973,264977,264974,264975,264976)))",
            "cost_info": {
              "read_cost": "125.41",
              "eval_cost": "11.40",
              "prefix_cost": "136.81",
              "data_read_per_join": "5K"
            },
            "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": "4",
            "ref": [
              "webmarco.cscart_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 57,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "57.00",
              "eval_cost": "11.40",
              "prefix_cost": "205.21",
              "data_read_per_join": "43K"
            },
            "used_columns": [
              "image_id",
              "image_path",
              "image_x",
              "image_y",
              "is_high_res"
            ]
          }
        },
        {
          "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": "108",
            "ref": [
              "webmarco.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 57,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "57.00",
              "eval_cost": "11.40",
              "prefix_cost": "273.61",
              "data_read_per_join": "33K"
            },
            "used_columns": [
              "object_id",
              "description",
              "lang_code",
              "object_holder"
            ]
          }
        }
      ]
    }
  }
}

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 Kepucet_e_hirushes.jpg 1243 1234 N 1340727 263772 product 344549 M 0 344549
0 atlete1.jpg 1243 1213 N 1341197 263981 product 344788 M 0 344788
0 black3.jpg 1243 1487 N 1342890 264156 product 344729 M 0 344729
0 kastor_0hra-pz.jpg 1243 1037 N 1343441 264304 product 345163 M 0 345163
0 Kepucet_e_hirushes.jpg 1243 1234 N 1375652 264756 product 344549 M 0 344549
0 Kepucet_e_hirushes.jpg 1243 1234 N 1375653 264757 product 344549 M 0 344549
0 Kepucet_e_hirushes.jpg 1243 1234 N 1375654 264758 product 344549 M 0 344549
0 Kepucet_e_hirushes.jpg 1243 1234 N 1375655 264759 product 344549 M 0 344549
0 atlete1.jpg 1243 1213 N 1375660 264764 product 344788 M 0 344788
0 atlete1.jpg 1243 1213 N 1375661 264765 product 344788 M 0 344788
0 atlete1.jpg 1243 1213 N 1375662 264766 product 344788 M 0 344788
0 atlete1.jpg 1243 1213 N 1375663 264767 product 344788 M 0 344788
0 kastor_0hra-pz.jpg 1243 1037 N 1375718 264819 product 345163 M 0 345163
0 kastor_0hra-pz.jpg 1243 1037 N 1375719 264820 product 345163 M 0 345163
0 kastor_0hra-pz.jpg 1243 1037 N 1375720 264821 product 345163 M 0 345163
0 kastor_0hra-pz.jpg 1243 1037 N 1375721 264822 product 345163 M 0 345163
0 black3.jpg 1243 1487 N 1377225 264927 product 344729 M 0 344729
0 black3.jpg 1243 1487 N 1377226 264928 product 344729 M 0 344729
0 black3.jpg 1243 1487 N 1377227 264929 product 344729 M 0 344729
0 black3.jpg 1243 1487 N 1377228 264930 product 344729 M 0 344729
0 atlete_bc4u-2n.jpg 1243 1015 N 1378493 264969 product 345018 M 0 345018
0 color_green_a6ap-ma.jpg 1243 1525 N 1343152 264208 product 344526 M 1 344526
0 color_green_a6ap-ma.jpg 1243 1525 N 1376550 264847 product 344526 M 1 344526
0 color_green_a6ap-ma.jpg 1243 1525 N 1376551 264848 product 344526 M 1 344526
0 color_green_a6ap-ma.jpg 1243 1525 N 1376552 264849 product 344526 M 1 344526
0 color_green_a6ap-ma.jpg 1243 1525 N 1376553 264850 product 344526 M 1 344526
0 kepucepink_vi8w-7y_xj3o-x4.jpg 1243 1120 N 1377299 264935 product 348603 M 1 348603
0 kepucebeige_ycuz-df_cvgk-qe.jpg 1243 1241 N 1377845 264954 product 348620 M 1 348620
0 kepuce_3_y8qy-hm_m0jl-ff.jpg 1243 1215 N 1378532 264973 product 348834 M 1 348834
0 kepuce_3_y8qy-hm_zf8q-o6.jpg 1243 1215 N 1378593 264974 product 348835 M 1 348835
0 kepuce_3_y8qy-hm_7ltv-l0.jpg 1243 1215 N 1378625 264975 product 348837 M 1 348837
0 kepuce_3_y8qy-hm_ergd-85.jpg 1243 1215 N 1378656 264976 product 348838 M 1 348838
0 kepuce_3_y8qy-hm_cfts-rk.jpg 1243 1215 N 1378717 264977 product 348839 M 1 348839
0 black1.jpg 1236 1226 N 1340499 263720 product 344529 M 2 344529
0 blue1_o9dw-b5.jpg 1243 1231 N 1343321 264226 product 345134 M 2 345134
0 122.jpg 1243 1511 N 1376559 264851 product 348571 M 2 348571
0 122_jj0x-3f.jpg 1243 1511 N 1376560 264852 product 348572 M 2 348572
0 122_q9zv-hu.jpg 1243 1511 N 1376561 264853 product 348573 M 2 348573
0 122_eih2-ww.jpg 1243 1511 N 1376592 264854 product 348574 M 2 348574
0 122_smtp-ic.jpg 1243 1511 N 1376613 264855 product 348575 M 2 348575
0 roze_22x3-k5_nlnz-vr.jpg 1243 1000 N 1376727 264888 product 348577 M 3 348577
0 roze_22x3-k5_x12x-9q.jpg 1243 1000 N 1376728 264889 product 348578 M 3 348578
0 roze_22x3-k5_u5sk-tc.jpg 1243 1000 N 1376729 264890 product 348579 M 3 348579
0 roze_22x3-k5_vaos-g4.jpg 1243 1000 N 1376730 264891 product 348580 M 3 348580
0 roze_22x3-k5_l0l4-nk.jpg 1243 1000 N 1376731 264892 product 348581 M 3 348581
0 green_iz7e-p1_s4w9-x1.jpg 1243 1533 N 1376732 264893 product 348582 M 3 348582
0 blue_u7cf-ic_t3yk-0b.jpg 1243 768 N 1377615 264940 product 348605 M 3 348605
0 blue_u7cf-ic_s79n-yc.jpg 1243 768 N 1377616 264941 product 348606 M 3 348606
0 blue_u7cf-ic_f5os-98.jpg 1243 768 N 1377647 264942 product 348607 M 3 348607
0 blue_u7cf-ic_jckg-g4.jpg 1243 768 N 1377648 264943 product 348608 M 3 348608
0 blue_u7cf-ic_psrf-sq.jpg 1243 768 N 1377709 264944 product 348609 M 3 348609
0 pink_hkyi-22_ptsh-fu.jpg 1243 913 N 1377710 264945 product 348610 M 3 348610
0 pink_hkyi-22_munc-mg.jpg 1243 913 N 1377711 264946 product 348611 M 3 348611
0 pink_hkyi-22_4yji-qd.jpg 1243 913 N 1377712 264947 product 348612 M 3 348612
0 pink_hkyi-22_00t1-2y.jpg 1243 913 N 1377713 264948 product 348613 M 3 348613
0 pink_hkyi-22_wnyd-lt.jpg 1243 913 N 1377714 264949 product 348614 M 3 348614
0 beige_08c0-11_kb2k-kq.jpg 1209 910 N 1378063 264955 product 348623 M 3 348623