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 (
    3166, 3186, 3167, 3171, 3174, 3180, 3187, 
    3193, 3195, 3271, 3282, 6757, 6842, 
    7008, 3181, 3175, 6829, 6737, 3168, 
    6738, 6740, 426, 436, 6825, 657, 667, 
    688, 3277, 710, 751, 3316, 6761, 6850, 
    6859, 7312, 7352, 7356, 699, 2225, 2677, 
    2672, 2673, 2674, 2671, 2675, 2676, 
    6259, 6260, 6261, 6262, 6263, 3290, 
    3178, 3188, 3196, 3274, 3276, 3285, 
    3286, 6760, 7278, 7353, 7357, 3292
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00216

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "157.91"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "66.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": 66,
            "rows_produced_per_join": 66,
            "filtered": "100.00",
            "index_condition": "((`gaseus`.`cscart_images_links`.`object_type` = 'product') and (`gaseus`.`cscart_images_links`.`type` = 'M') and (`gaseus`.`cscart_images_links`.`object_id` in (3166,3186,3167,3171,3174,3180,3187,3193,3195,3271,3282,6757,6842,7008,3181,3175,6829,6737,3168,6738,6740,426,436,6825,657,667,688,3277,710,751,3316,6761,6850,6859,7312,7352,7356,699,2225,2677,2672,2673,2674,2671,2675,2676,6259,6260,6261,6262,6263,3290,3178,3188,3196,3274,3276,3285,3286,6760,7278,7353,7357,3292)))",
            "cost_info": {
              "read_cost": "39.11",
              "eval_cost": "6.60",
              "prefix_cost": "45.71",
              "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": [
              "gaseus.cscart_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 66,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "16.50",
              "eval_cost": "6.60",
              "prefix_cost": "68.81",
              "data_read_per_join": "50K"
            },
            "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": [
              "gaseus.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 66,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "16.50",
              "eval_cost": "6.60",
              "prefix_cost": "91.91",
              "data_read_per_join": "39K"
            },
            "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 1390209375-21828-2_600x600_2x_6c1z-t3.jpg 500 399 N 5731 6259 product 9214 M 0 9214
0 1390209375-21828-2_600x600_2x_2w9b-wl.jpg 500 399 N 5732 6260 product 9215 M 0 9215
0 1390209375-21828-2_600x600_2x_j04q-sd.jpg 500 399 N 5733 6261 product 9216 M 0 9216
0 1390209375-21828-2_600x600_2x_mx7l-rl.jpg 500 399 N 5734 6262 product 9217 M 0 9217
0 1390209375-21828-2_600x600_2x_ybra-sf.jpg 500 399 N 5735 6263 product 9218 M 0 9218
0 276711-F10-300F-Effect-Flowmeter-LabLine-Seite-73jnqvyUrfzX4ND_600x600_2x_4mxp-ma.jpg 1191 1200 N 6209 6737 product 9692 M 0 9692
0 276711-F10-300F-Effect-Flowmeter-LabLine-Seite-73jnqvyUrfzX4ND_600x600_2x_q9vb-i4.jpg 1191 1200 N 6210 6738 product 9693 M 0 9693
0 276711-F10-300F-Effect-Flowmeter-LabLine-Seite-73jnqvyUrfzX4ND_600x600_2x_vaj8-gw.jpg 1191 1200 N 6212 6740 product 9695 M 0 9695
0 Seite-74-F10-2-300-Effect-LabLinekEtsMRyV4cFWo_600x600_2x.jpg 1200 800 N 6229 6757 product 9712 M 0 9712
0 Druckminderer-Vulkan-F15-300-Effect-LabLine-Wasserstoff-2_600x600_2x.jpg 500 443 N 6232 6760 product 9715 M 0 9715
0 Seite-74-F15-2-300-Effect-LabLine9sKl29ppWOcWb_600x600_2x.jpg 1200 800 N 6233 6761 product 9716 M 0 9716
0 Seite-74-F15-2-300-Effect-LabLineuBtAEEkcAO9Vz_600x600_2x.jpg 1200 800 N 6297 6825 product 9780 M 0 9780
0 Seite-72-F10-300-Effect-LabLinez8MZpIdXuSATJ_600x600_2x.jpg 1200 800 N 6301 6829 product 9784 M 0 9784
0 Seite-72-F10-300-Effect-LabLine2aFmf03h0ksC8_600x600_2x.jpg 1200 800 N 6314 6842 product 9797 M 0 9797
0 Druckminderer-Vulkan-F15-200-2_600x600_2x.jpg 500 455 N 6322 6850 product 9805 M 0 9805
0 1387270102-27683_600x600_2x.jpg 500 476 N 6331 6859 product 9814 M 0 9814
0 1447432387-1306-1_600x600_2x_t1v7-bp.jpg 500 495 N 6480 7008 product 9963 M 0 9963
0 Druckminderer-Vulkan-F-10-200-Effect-Sauerstoff-zweistufig-2_600x600_2x_osa2-fp.jpg 500 399 N 6750 7278 product 10233 M 0 10233
0 306-770-LHR-300-200-Seite-35C9PvCV3fxdTCc_600x600_2x_2sgw-pm.jpg 1200 800 N 6784 7312 product 10267 M 0 10267
0 1337327177-22599_600x600_2x_tasq-gq.jpg 580 462 N 6824 7352 product 10307 M 0 10307
0 1337327177-22599_600x600_2x_oyl6-qw.jpg 580 462 N 6825 7353 product 10308 M 0 10308
0 1337327177-22599_600x600_2x_43yx-qc.jpg 580 462 N 6828 7356 product 10311 M 0 10311
0 1337327177-22599_600x600_2x_3r9m-np.jpg 580 462 N 6829 7357 product 10312 M 0 10312
0 1390377119-4252_600x600_2x_9jr0-qd.jpg 500 399 N 13127 426 product 16607 M 0 16607
0 1354272258-16219_600x600_2x_y54s-50.jpg 500 399 N 13137 436 product 16617 M 0 16617
0 Druckminderer-Vulkan-F-15-300-Effect-Pr_fgas-einstufig-2_600x600_2x_7azd-6n.jpg 500 476 N 13358 657 product 16838 M 0 16838
0 Druckminderer-Vulkan-F-15-300-Effect-Druckluft-einstufig-2_600x600_2x_i94e-hu.jpg 500 476 N 13368 667 product 16848 M 0 16848
0 Druckminderer-Vulkan-F-15-300-Effect-Stickstoff-einstufig-2_600x600_2x_nn94-fq.jpg 500 476 N 13389 688 product 16869 M 0 16869
0 Druckminderer-Vulkan-F-15-300-Effect-Helium-einstufig-2_600x600_2x_h4dn-me.jpg 500 476 N 13400 699 product 16880 M 0 16880
0 Druckminderer-Vulkan-F-15-200-Effect-Methan-2_600x600_2x_8oup-25.jpg 500 476 N 13411 710 product 16891 M 0 16891
0 Druckminderer-Vulkan-F-15-200-Effect-Wasserstoff-2_600x600_2x_hkd3-7p.jpg 500 476 N 13452 751 product 16932 M 0 16932
0 1390209788-448_600x600_2x_zthw-da.jpg 500 399 N 14926 2225 product 18407 M 0 18407
0 1390209375-21828-2_600x600_2x_r4zd-6z.jpg 500 399 N 15372 2671 product 18853 M 0 18853
0 1390209375-21828-2_600x600_2x_ssp1-hr.jpg 500 399 N 15373 2672 product 18854 M 0 18854
0 1390209375-21828-2_600x600_2x_lgaj-3x.jpg 500 399 N 15374 2673 product 18855 M 0 18855
0 1390209375-21828-2_600x600_2x_yl8o-qs.jpg 500 399 N 15375 2674 product 18856 M 0 18856
0 1390209375-21828-2_600x600_2x_xvtc-u3.jpg 500 399 N 15376 2675 product 18857 M 0 18857
0 1390209375-21828-2_600x600_2x_beoh-l8.jpg 500 399 N 15377 2676 product 18858 M 0 18858
0 1390209375-21828-2_600x600_2x_zzso-3x.jpg 500 399 N 15378 2677 product 18859 M 0 18859
0 276711-F10-300F-Effect-Flowmeter-LabLine-Seite-73jnqvyUrfzX4ND_600x600_2x_60kb-0j.jpg 1191 1200 N 15867 3166 product 19348 M 0 19348
0 276711-F10-300F-Effect-Flowmeter-LabLine-Seite-73jnqvyUrfzX4ND_600x600_2x_g1g1-tp.jpg 1191 1200 N 15868 3167 product 19349 M 0 19349
0 276711-F10-300F-Effect-Flowmeter-LabLine-Seite-73jnqvyUrfzX4ND_600x600_2x_j6dh-gm.jpg 1191 1200 N 15869 3168 product 19350 M 0 19350
0 Seite-74-F10-2-300-Effect-LabLineJBuIVNZ4mAIwT_600x600_2x.jpg 1200 800 N 15872 3171 product 19353 M 0 19353
0 Seite-72-F10-300-Effect-LabLinemIF5wRhMrIvuu_600x600_2x.jpg 1200 800 N 15875 3174 product 19356 M 0 19356
0 300-Flowmeter-Labline-CO2-Argon-10-95_600x600_2x.jpg 707 800 N 15876 3175 product 19357 M 0 19357
0 Druckminderer-Vulkan-F15-300-Effect-LabLine-CO2-Argon-2_600x600_2x.jpg 500 443 N 15879 3178 product 19360 M 0 19360
0 Seite-74-F10-2-300-Effect-LabLinevbOlhlmNHaxo4_600x600_2x.jpg 1200 800 N 15881 3180 product 19362 M 0 19362
0 Seite-74-F10-2-300-Effect-LabLineMlIA3S57WgaJe_600x600_2x.jpg 1200 800 N 15882 3181 product 19363 M 0 19363
0 Seite-72-F10-300-Effect-LabLine-LGdXHUORL9Aecim_600x600_2x.jpg 1200 800 N 15887 3186 product 19368 M 0 19368
0 Druckregler-Vulkan-F10-F-300-Effect-LabLine-2_6-26-Wasserstoff_600x600_2x.jpg 707 800 N 15888 3187 product 19369 M 0 19369
0 Druckminderer-Vulkan-F15-300-Effect-LabLine-Formiergas-2_600x600_2x.jpg 500 443 N 15889 3188 product 19370 M 0 19370
0 Seite-74-F10-2-300-Effect-LabLineerzJouJLdbYAN_600x600_2x.jpg 1200 800 N 15894 3193 product 19375 M 0 19375
0 Druckminderer-Vulkan-F10-F-300-Effect-LabLine-4-42-Stickstoff-2_600x600_2x.jpg 442 500 N 15896 3195 product 19377 M 0 19377
0 Druckminderer-Vulkan-F15-300-Effect-LabLine-Stickstoff-2_600x600_2x.jpg 500 443 N 15897 3196 product 19378 M 0 19378
0 Seite-72-F10-300-Effect-LabLineOMFYxN4xq48Mn_600x600_2x.jpg 1200 800 N 15972 3271 product 19453 M 0 19453
0 Druckminderer-Vulkan-F15-200-Effect-LabLine-Druckluft-2_600x600_2x.jpg 500 443 N 15975 3274 product 19456 M 0 19456
0 Druckminderer-Vulkan-F15-200-Effect-LabLine-Helium-2_600x600_2x.jpg 500 443 N 15977 3276 product 19458 M 0 19458
0 Seite-74-F15-2-300-Effect-LabLinekKZJwqtO04yY9_600x600_2x.jpg 1200 800 N 15978 3277 product 19459 M 0 19459
0 Seite-72-F10-300-Effect-LabLineramNqEU7iAhoC_600x600_2x.jpg 1200 800 N 15983 3282 product 19464 M 0 19464
0 Druckminderer-F15-200-Effect-LabLine-Methan-2_600x600_2x.jpg 500 443 N 15986 3285 product 19467 M 0 19467
0 1348673719-24209_600x600_2x.jpg 500 443 N 15987 3286 product 19468 M 0 19468
0 Seite-74-F15-2-300-Effect-LabLineNW71jED0Newwz_600x600_2x.jpg 1200 800 N 15991 3290 product 19472 M 0 19472
0 Druckminderer-Vulkan-F15-200-Effect-LabLine-Pr_fgas-2_600x600_2x.jpg 500 443 N 15993 3292 product 19474 M 0 19474
0 1354176977-32599_600x600_2x.jpg 500 476 N 16017 3316 product 19498 M 0 19498