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 = 'A' 
  AND cscart_images_links.object_id IN (
    32160, 39122, 69318, 69901, 68968, 31306, 
    66392, 31307
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00144

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "115.37"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "40.00"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_images_links",
            "access_type": "range",
            "possible_keys": [
              "object_id",
              "idx_object_type_type_position"
            ],
            "key": "object_id",
            "used_key_parts": [
              "object_id",
              "object_type",
              "type"
            ],
            "key_length": "81",
            "rows_examined_per_scan": 40,
            "rows_produced_per_join": 40,
            "filtered": "100.00",
            "index_condition": "((`cscart_db`.`cscart_images_links`.`object_type` = 'product') and (`cscart_db`.`cscart_images_links`.`type` = 'A') and (`cscart_db`.`cscart_images_links`.`object_id` in (32160,39122,69318,69901,68968,31306,66392,31307)))",
            "cost_info": {
              "read_cost": "26.52",
              "eval_cost": "4.00",
              "prefix_cost": "30.52",
              "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": "4",
            "ref": [
              "cscart_db.cscart_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 40,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "20.31",
              "eval_cost": "4.00",
              "prefix_cost": "54.83",
              "data_read_per_join": "30K"
            },
            "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": "107",
            "ref": [
              "cscart_db.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 40,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "16.54",
              "eval_cost": "4.00",
              "prefix_cost": "75.37",
              "data_read_per_join": "23K"
            },
            "used_columns": [
              "object_id",
              "description",
              "lang_code",
              "object_holder"
            ],
            "attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`cscart_db`.`cscart_common_descriptions`.`object_id` = `cscart_db`.`cscart_images`.`image_id`), true)"
          }
        }
      ]
    }
  }
}

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 I_m_Toneup_Multibase__Clean_And_Bright_Complexion_Women_1.jpg 1000 1000 N 120306 31306 product 121658 A 1 121658
0 Suntique_I_M_PURE_Perfect_Cica_SPF50_Pa______,.jpg 1000 1000 N 120310 31307 product 121662 A 1 121662
0 1__2__wwhp-9t.jpg 1000 1500 N 125800 32160 product 127152 A 1 127152
0 Iunik_signed_page-0001_jvje-2z.jpg 1241 1754 N 173400 39122 product 174746 A 1 174746
0 8809032673259.2.jpg 800 800 N 181543 66392 product 182889 A 1 182889
0 ffce46e8809820692691_2.png 800 800 N 202013 68968 product 203297 A 1 203297
0 2_wdof-ay.jpg 1024 1024 N 205528 69318 product 206812 A 1 206812
0 I_m_Toneup_Multibase__Clean_And_Bright_Complexion_Women.jpg 1000 1000 N 120307 31306 product 121659 A 2 121659
0 Suntique_I_M_PURE_Perfect_Cica_SPF50_Pa______2.jpg 1000 1000 N 120311 31307 product 121663 A 2 121663
0 1__3__41tp-0k.jpg 1000 1000 N 125801 32160 product 127153 A 2 127153
0 8809032673259.3.jpg 800 800 N 181544 66392 product 182890 A 2 182890
0 ffce46e8809820692691_3.png 800 800 N 202014 68968 product 203298 A 2 203298
0 3_3cls-2o.jpg 1024 1024 N 205529 69318 product 206813 A 2 206813
0 I_m_Toneup_Multibase__Clean_And_Bright_Complexion_Women_3.jpg 1000 1000 N 120308 31306 product 121660 A 3 121660
0 Suntique_I_M_PURE_Perfect_Cica_SPF50_Pa_______1.jpg 1000 1000 N 120312 31307 product 121664 A 3 121664
0 1__5__56l4-q2.jpg 800 1244 N 125802 32160 product 127154 A 3 127154
0 8809032673259.4.jpg 800 800 N 181545 66392 product 182891 A 3 182891
0 ffce46e8809820692691_4.png 800 800 N 202015 68968 product 203299 A 3 203299
0 4_83yk-ji.jpg 1024 1024 N 205530 69318 product 206814 A 3 206814
0 1__4__e1zo-qa.jpg 1000 1000 N 125803 32160 product 127155 A 4 127155
0 Suntique__1__page-0001_itm4-7m.jpg 1240 1726 N 173442 31306 product 174788 A 4 174788
0 Suntique__1__page-0001_iqz8-5m.jpg 1240 1726 N 173443 31307 product 174789 A 4 174789
0 8809032673259.6.jpg 800 800 N 181546 66392 product 182892 A 4 182892
0 ffce46e8809820692691_5.png 800 800 N 202016 68968 product 203300 A 4 203300
0 5_7ahd-fc.jpg 1024 1024 N 205531 69318 product 206815 A 4 206815
0 8809032673259.7.jpg 800 800 N 181547 66392 product 182893 A 5 182893
0 ffce46e8809820692691_6.png 800 800 N 202017 68968 product 203301 A 5 203301
0 6_2e99-7n.jpg 1024 1024 N 205532 69318 product 206816 A 5 206816
0 Axis-y_6s0c-0l.jpg 2480 3508 N 214372 32160 product 215647 A 5 215647
0 8809032673259.5.jpg 800 800 N 181548 66392 product 182894 A 6 182894
0 ffce46e8809820692691_7.png 800 800 N 202018 68968 product 203302 A 6 203302
0 7_qf63-ka.jpg 1024 1024 N 205533 69318 product 206817 A 6 206817
0 ffce46e8809820692691_8.png 800 800 N 202019 68968 product 203303 A 7 203303
0 ffce46e8809820692691_9.png 800 800 N 202020 68968 product 203304 A 8 203304
0 2_f6lv-82.png 3200 3200 N 213296 69901 product 214571 A 10 214571
0 3_1tg1-0j.png 3200 3200 N 213297 69901 product 214572 A 11 214572
0 4_l6rm-xc.png 3200 3200 N 213298 69901 product 214573 A 12 214573
0 5_tgs2-6s.png 3200 3200 N 213299 69901 product 214574 A 13 214574
0 6_e0we-tp.png 3200 3200 N 213300 69901 product 214575 A 14 214575
0 7_j2ne-of.png 3200 3200 N 213301 69901 product 214576 A 15 214576