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 (
    33697, 66982, 66884, 33701, 26971, 37553, 
    37831, 3557
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00122

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "196.71"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "48.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": 48,
            "rows_produced_per_join": 48,
            "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 (33697,66982,66884,33701,26971,37553,37831,3557)))",
            "cost_info": {
              "read_cost": "53.36",
              "eval_cost": "4.80",
              "prefix_cost": "58.16",
              "data_read_per_join": "4K"
            },
            "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": 48,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "41.81",
              "eval_cost": "4.80",
              "prefix_cost": "104.77",
              "data_read_per_join": "36K"
            },
            "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": 48,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "39.14",
              "eval_cost": "4.80",
              "prefix_cost": "148.71",
              "data_read_per_join": "28K"
            },
            "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 Ginseng-essence-water_7.jpg 768 1152 N 99551 26971 product 100903 A 1 100903
0 SKIN1004_Madagascar_Centella_Ampoule_1_8r9q-g6.jpg 2000 2000 N 133507 33697 product 134859 A 1 134859
0 SKIN1004_Madagascar_Centella_Hyalu-Cica_Sleeping_Pack_1.jpg 2000 2000 N 133546 33701 product 134898 A 1 134898
0 3_cqao-dw.jpg 679 679 N 166024 37831 product 167373 A 1 167373
0 2_qgo3-y3.webp 600 900 N 185054 66884 product 186400 A 1 186400
0 71F1IpJzeCL._AC_UF350,350_QL80_.jpg 350 350 N 213852 37553 product 215127 A 1 215127
0 Ginseng-essence-water_8.jpg 1152 768 N 99552 26971 product 100904 A 2 100904
0 SKIN1004_Madagascar_Centella_Ampoule_2_m0mf-2y.jpg 2000 2000 N 133508 33697 product 134860 A 2 134860
0 SKIN1004_Madagascar_Centella_Hyalu-Cica_Sleeping_Pack_2.jpg 2000 2000 N 133547 33701 product 134899 A 2 134899
0 2_7s3q-54.jpg 679 679 N 166025 37831 product 167374 A 2 167374
0 3_gn4w-af.webp 600 900 N 185055 66884 product 186401 A 2 186401
0 Ginseng-essence-water_9.jpg 768 1152 N 99553 26971 product 100905 A 3 100905
0 SKIN1004_Madagascar_Centella_Ampoule_3_66um-xk.jpg 2000 2000 N 133509 33697 product 134861 A 3 134861
0 SKIN1004_Madagascar_Centella_Hyalu-Cica_Sleeping_Pack_3.jpg 2000 2000 N 133548 33701 product 134900 A 3 134900
0 5_cbpu-hx.jpg 679 679 N 166026 37831 product 167375 A 3 167375
0 4_ky3q-2w.webp 600 900 N 185056 66884 product 186402 A 3 186402
0 B502.jpeg 486 649 N 185603 66982 product 186949 A 3 186949
0 SKIN1004_Madagascar_Centella_Ampoule_4_bavw-m7.jpg 2000 2000 N 133510 33697 product 134862 A 4 134862
0 SKIN1004_Madagascar_Centella_Hyalu-Cica_Sleeping_Pack_4.jpg 2000 2000 N 133549 33701 product 134901 A 4 134901
0 BOJ__1__page-0001_34au-bd.jpg 1241 1754 N 173275 26971 product 174621 A 4 174621
0 5_043x-1d.webp 600 900 N 185057 66884 product 186403 A 4 186403
0 B503.jpeg 486 649 N 185604 66982 product 186950 A 4 186950
0 I'm-from_6vnd-k8.jpg 2480 3508 N 214623 37831 product 215898 A 4 215898
0 SKIN1004_Madagascar_Centella_Ampoule_5_p1ce-c4.jpg 2000 2000 N 133511 33697 product 134863 A 5 134863
0 SKIN1004_Madagascar_Centella_Hyalu-Cica_Sleeping_Pack_5.jpg 2000 2000 N 133550 33701 product 134902 A 5 134902
0 6_h1ul-jk.webp 600 900 N 185058 66884 product 186404 A 5 186404
0 B504.jpeg 486 649 N 185605 66982 product 186951 A 5 186951
0 SKIN1004_Madagascar_Centella_Ampoule_6_hkwp-e3.jpg 2000 2000 N 133512 33697 product 134864 A 6 134864
0 SKIN1004_Madagascar_Centella_Hyalu-Cica_Sleeping_Pack_6.jpg 2000 2000 N 133551 33701 product 134903 A 6 134903
0 7_o4m4-kt.webp 600 900 N 185059 66884 product 186405 A 6 186405
0 B505.jpeg 486 649 N 185606 66982 product 186952 A 6 186952
0 SKIN1004_Madagascar_Centella_Ampoule_7_8jb4-g5.jpg 2000 2000 N 133513 33697 product 134865 A 7 134865
0 SKIN1004_Madagascar_Centella_Hyalu-Cica_Sleeping_Pack_7.jpg 2000 2000 N 133552 33701 product 134904 A 7 134904
0 8_4wug-85.webp 600 900 N 185060 66884 product 186406 A 7 186406
0 7e8428e8-a0ba-47f5-842a-43bb93eb58a1.png 3000 3000 N 213853 37553 product 215128 A 7 215128
0 SKIN1004_Madagascar_Centella_Ampoule_8_kovj-p8.jpg 2000 2000 N 133514 33697 product 134866 A 8 134866
0 SKIN1004_Madagascar_Centella_Hyalu-Cica_Sleeping_Pack_8.jpg 2000 2000 N 133553 33701 product 134905 A 8 134905
0 Klairs001M__2__rvhq-7b.jpg 1840 2130 N 46826 3557 product 48178 A 9 48178
0 Skin1004__1__page-0001_aq3p-lh.jpg 1241 1754 N 173337 33697 product 174683 A 9 174683
0 Skin1004__1__page-0001_mp1r-2g.jpg 1241 1754 N 173341 33701 product 174687 A 9 174687
0 bb980b9c-97e5-442f-811c-e11133abe85f.png 3000 3000 N 213854 37553 product 215129 A 9 215129
0 Klairs001M__3__hqi1-i5.jpg 1840 2136 N 46827 3557 product 48179 A 10 48179
0 eb1e9032-8c5a-4bdf-9206-71ae47b593bf.png 3000 3000 N 213855 37553 product 215130 A 10 215130
0 Klairs001M__4__3nyh-t6.jpg 1840 2136 N 46828 3557 product 48180 A 11 48180
0 Klairs001M__5__fsd8-aa.jpg 1840 2136 N 46829 3557 product 48181 A 12 48181
0 Klairs001M__6__oc9t-2n.jpg 1840 2136 N 46830 3557 product 48182 A 13 48182
0 Klairs001M__7__dym5-dz.jpg 1840 2136 N 46831 3557 product 48183 A 14 48183
0 Dear-Klairs_7y26-es.jpg 2480 3508 N 214533 3557 product 215808 A 16 215808