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, 264156, 
    264935, 264954, 264927, 264928, 264929, 
    264930, 264226, 264888, 264893, 264889, 
    264890, 264891, 264892, 264304, 264819, 
    264820, 264821, 264822, 264851, 264852, 
    264853, 264854, 264941, 264942, 264943, 
    264944, 264894, 264895, 264896, 264897, 
    264931, 264950, 264951, 264952, 264953, 
    264824, 264825, 264826, 264884, 264885, 
    264886, 264887, 264936, 264937, 264938, 
    264939, 264932, 264933, 264934
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00292

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "400.21"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "69.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": 69,
            "rows_produced_per_join": 69,
            "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,264156,264935,264954,264927,264928,264929,264930,264226,264888,264893,264889,264890,264891,264892,264304,264819,264820,264821,264822,264851,264852,264853,264854,264941,264942,264943,264944,264894,264895,264896,264897,264931,264950,264951,264952,264953,264824,264825,264826,264884,264885,264886,264887,264936,264937,264938,264939,264932,264933,264934)))",
            "cost_info": {
              "read_cost": "151.81",
              "eval_cost": "13.80",
              "prefix_cost": "165.61",
              "data_read_per_join": "6K"
            },
            "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": 69,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "69.00",
              "eval_cost": "13.80",
              "prefix_cost": "248.41",
              "data_read_per_join": "52K"
            },
            "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": 69,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "69.00",
              "eval_cost": "13.80",
              "prefix_cost": "331.21",
              "data_read_per_join": "40K"
            },
            "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 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 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 color_green_a6ap-ma.jpg 1243 1525 N 1343152 264208 product 344526 M 1 344526
0 kepucebeige_ycuz-df.jpg 1243 1241 N 1375879 264824 product 345051 M 1 345051
0 kepucebeige_ycuz-df.jpg 1243 1241 N 1375880 264825 product 345051 M 1 345051
0 kepucebeige_ycuz-df.jpg 1243 1241 N 1375881 264826 product 345051 M 1 345051
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_0jhw-41.jpg 1243 1120 N 1377265 264931 product 348599 M 1 348599
0 kepucepink_vi8w-7y.jpg 1243 1120 N 1377296 264932 product 348600 M 1 348600
0 kepucepink_vi8w-7y_adum-ot.jpg 1243 1120 N 1377297 264933 product 348601 M 1 348601
0 kepucepink_vi8w-7y_t43q-0k.jpg 1243 1120 N 1377298 264934 product 348602 M 1 348602
0 kepucepink_vi8w-7y_xj3o-x4.jpg 1243 1120 N 1377299 264935 product 348603 M 1 348603
0 kepucebeige_ycuz-df_hozp-ia.jpg 1243 1241 N 1377810 264950 product 348615 M 1 348615
0 kepucebeige_ycuz-df_w9g7-o7.jpg 1243 1241 N 1377811 264951 product 348616 M 1 348616
0 kepucebeige_ycuz-df_6ey0-2w.jpg 1243 1241 N 1377843 264952 product 348618 M 1 348618
0 kepucebeige_ycuz-df_dub5-2q.jpg 1243 1241 N 1377844 264953 product 348619 M 1 348619
0 kepucebeige_ycuz-df_cvgk-qe.jpg 1243 1241 N 1377845 264954 product 348620 M 1 348620
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 blue1_o9dw-b5.jpg 1243 1231 N 1376713 264884 product 345134 M 2 345134
0 blue1_o9dw-b5.jpg 1243 1231 N 1376714 264885 product 345134 M 2 345134
0 blue1_o9dw-b5.jpg 1243 1231 N 1376715 264886 product 345134 M 2 345134
0 blue1_o9dw-b5.jpg 1243 1231 N 1376716 264887 product 345134 M 2 345134
0 black1.jpg 1236 1226 N 1377571 264936 product 344529 M 2 344529
0 black1.jpg 1236 1226 N 1377572 264937 product 344529 M 2 344529
0 black1.jpg 1236 1226 N 1377573 264938 product 344529 M 2 344529
0 black1.jpg 1236 1226 N 1377574 264939 product 344529 M 2 344529
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 green_iz7e-p1_usx0-93.jpg 1243 1533 N 1376733 264894 product 348583 M 3 348583
0 green_iz7e-p1_yol8-3e.jpg 1243 1533 N 1376734 264895 product 348584 M 3 348584
0 green_iz7e-p1_je64-qy.jpg 1243 1533 N 1376735 264896 product 348585 M 3 348585
0 green_iz7e-p1_7ce9-9o.jpg 1243 1533 N 1376736 264897 product 348586 M 3 348586
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