SELECT 
  cscart_images_links.*, 
  cscart_images.image_path, 
  cscart_common_descriptions.description AS alt, 
  cscart_images.image_x, 
  cscart_images.image_y, 
  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 = 'ro' 
WHERE 
  cscart_images_links.object_type = 'product' 
  AND cscart_images_links.type = 'A' 
  AND cscart_images_links.object_id IN (
    1730410, 1730411, 1730412, 1730409, 
    1730414, 1730413, 1730415
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00195

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "172.75"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "38.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": 38,
            "rows_produced_per_join": 38,
            "filtered": "100.00",
            "index_condition": "((`maniamall_cscart`.`cscart_images_links`.`object_type` = 'product') and (`maniamall_cscart`.`cscart_images_links`.`type` = 'A') and (`maniamall_cscart`.`cscart_images_links`.`object_id` in (1730410,1730411,1730412,1730409,1730414,1730413,1730415)))",
            "cost_info": {
              "read_cost": "48.24",
              "eval_cost": "3.80",
              "prefix_cost": "52.04",
              "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": "3",
            "ref": [
              "maniamall_cscart.cscart_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 38,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "37.65",
              "eval_cost": "3.80",
              "prefix_cost": "93.49",
              "data_read_per_join": "29K"
            },
            "used_columns": [
              "image_id",
              "image_path",
              "image_x",
              "image_y"
            ],
            "attached_condition": "<if>(is_not_null_compl(cscart_images), (`maniamall_cscart`.`cscart_images_links`.`detailed_id` = `maniamall_cscart`.`cscart_images`.`image_id`), true)"
          }
        },
        {
          "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": [
              "maniamall_cscart.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 38,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "37.46",
              "eval_cost": "3.80",
              "prefix_cost": "134.75",
              "data_read_per_join": "22K"
            },
            "used_columns": [
              "object_id",
              "description",
              "lang_code",
              "object_holder"
            ],
            "attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`maniamall_cscart`.`cscart_common_descriptions`.`object_id` = `maniamall_cscart`.`cscart_images`.`image_id`), true)"
          }
        }
      ]
    }
  }
}

Result

pair_id object_id object_type image_id detailed_id type position image_path alt image_x image_y images_image_id
3941940 1730409 product 0 3942193 A 0 Set-345-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Peugeot-TGD13-TA1142_o6uh-i1.jpg Set 345 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Peugeot TGD13-TA1142 1000 576 3942193
3941941 1730409 product 0 3942194 A 0 Set-345-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Peugeot-TGD13-TA1142_a031-cn.jpg Set 345 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Peugeot TGD13-TA1142 1000 833 3942194
3941942 1730409 product 0 3942195 A 0 Set-345-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Peugeot-TGD13-TA1142_ckvy-tx.jpg Set 345 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Peugeot TGD13-TA1142 991 1000 3942195
3941943 1730409 product 0 3942196 A 0 Set-345-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Peugeot-TGD13-TA1142_5f4o-vp.jpg Set 345 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Peugeot TGD13-TA1142 1000 879 3942196
3941944 1730409 product 0 3942197 A 0 Set-345-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Peugeot-TGD13-TA1142_yfs5-yp.jpg Set 345 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Peugeot TGD13-TA1142 1000 986 3942197
3941945 1730409 product 0 3942198 A 0 Set-345-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Peugeot-TGD13-TA1142_8n6j-ck.jpg Set 345 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Peugeot TGD13-TA1142 928 724 3942198
3941947 1730410 product 0 3942200 A 0 Set-350-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Volvo-TGD13-TA1144_pjoc-j7.jpg Set 350 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Volvo TGD13-TA1144 1000 819 3942200
3941948 1730410 product 0 3942201 A 0 Set-350-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Volvo-TGD13-TA1144_w2ye-8n.jpg Set 350 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Volvo TGD13-TA1144 1000 595 3942201
3941949 1730410 product 0 3942202 A 0 Set-350-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Volvo-TGD13-TA1144_bqun-by.jpg Set 350 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Volvo TGD13-TA1144 988 1000 3942202
3941950 1730410 product 0 3942203 A 0 Set-350-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Volvo-TGD13-TA1144_kc0g-ql.jpg Set 350 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Volvo TGD13-TA1144 1000 983 3942203
3941951 1730410 product 0 3942204 A 0 Set-350-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Volvo-TGD13-TA1144_pzna-o4.jpg Set 350 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Volvo TGD13-TA1144 1000 961 3942204
3941952 1730410 product 0 3942205 A 0 Set-350-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Volvo-TGD13-TA1144_kwwc-2c.jpg Set 350 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Volvo TGD13-TA1144 1000 868 3942205
3941953 1730410 product 0 3942206 A 0 Set-350-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Volvo-TGD13-TA1144_yu81-pj.jpg Set 350 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Volvo TGD13-TA1144 1000 898 3942206
3941954 1730410 product 0 3942207 A 0 Set-350-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Volvo-TGD13-TA1144_y9n8-cp.jpg Set 350 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Volvo TGD13-TA1144 1000 769 3942207
3941956 1730411 product 0 3942209 A 0 Set-270-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Mercedes-TGD13-TA1148_pmbt-g8.jpg Set 270 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Mercedes TGD13-TA1148 1000 613 3942209
3941957 1730411 product 0 3942210 A 0 Set-270-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Mercedes-TGD13-TA1148_ffg5-ja.jpg Set 270 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Mercedes TGD13-TA1148 1000 849 3942210
3941958 1730411 product 0 3942211 A 0 Set-270-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Mercedes-TGD13-TA1148_0rrn-j3.jpg Set 270 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Mercedes TGD13-TA1148 1000 803 3942211
3941959 1730411 product 0 3942212 A 0 Set-270-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Mercedes-TGD13-TA1148_q331-0g.jpg Set 270 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Mercedes TGD13-TA1148 1000 885 3942212
3941960 1730411 product 0 3942213 A 0 Set-270-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Mercedes-TGD13-TA1148_z89t-lb.jpg Set 270 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Mercedes TGD13-TA1148 991 1000 3942213
3941961 1730411 product 0 3942214 A 0 Set-270-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Mercedes-TGD13-TA1148_e42r-k5.jpg Set 270 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Mercedes TGD13-TA1148 812 624 3942214
3941963 1730412 product 0 3942216 A 0 Set-300-clipsuri-auto-Tagred-de-fixare--6-modele--cu-cutie-organizator--compatibil-Renault-TGD13-TA1140_okiv-r9.jpg Set 300 clipsuri auto Tagred de fixare, 6 modele, cu cutie organizator, compatibil Renault TGD13-TA1140 1000 610 3942216
3941964 1730412 product 0 3942217 A 0 Set-300-clipsuri-auto-Tagred-de-fixare--6-modele--cu-cutie-organizator--compatibil-Renault-TGD13-TA1140_emfb-s6.jpg Set 300 clipsuri auto Tagred de fixare, 6 modele, cu cutie organizator, compatibil Renault TGD13-TA1140 1000 804 3942217
3941965 1730412 product 0 3942218 A 0 Set-300-clipsuri-auto-Tagred-de-fixare--6-modele--cu-cutie-organizator--compatibil-Renault-TGD13-TA1140_gm2d-yo.jpg Set 300 clipsuri auto Tagred de fixare, 6 modele, cu cutie organizator, compatibil Renault TGD13-TA1140 1000 897 3942218
3941966 1730412 product 0 3942219 A 0 Set-300-clipsuri-auto-Tagred-de-fixare--6-modele--cu-cutie-organizator--compatibil-Renault-TGD13-TA1140_uj12-gt.jpg Set 300 clipsuri auto Tagred de fixare, 6 modele, cu cutie organizator, compatibil Renault TGD13-TA1140 970 372 3942219
3941968 1730413 product 0 3942221 A 0 Set-160-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Audi-TGD13-TA1150_hhpo-1p.jpg Set 160 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Audi TGD13-TA1150 1000 617 3942221
3941969 1730413 product 0 3942222 A 0 Set-160-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Audi-TGD13-TA1150_co90-zw.jpg Set 160 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Audi TGD13-TA1150 1000 770 3942222
3941970 1730413 product 0 3942223 A 0 Set-160-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Audi-TGD13-TA1150_07c9-y9.jpg Set 160 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Audi TGD13-TA1150 1000 964 3942223
3941971 1730413 product 0 3942224 A 0 Set-160-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Audi-TGD13-TA1150_ewep-6b.jpg Set 160 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Audi TGD13-TA1150 958 738 3942224
3941973 1730414 product 0 3942226 A 0 Set-290-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-BMW-TGD13-TA1147_jp2j-cf.jpg Set 290 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil BMW TGD13-TA1147 1000 620 3942226
3941974 1730414 product 0 3942227 A 0 Set-290-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-BMW-TGD13-TA1147_ltju-rl.jpg Set 290 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil BMW TGD13-TA1147 1000 788 3942227
3941975 1730414 product 0 3942228 A 0 Set-290-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-BMW-TGD13-TA1147_7b20-mv.jpg Set 290 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil BMW TGD13-TA1147 1000 667 3942228
3941976 1730414 product 0 3942229 A 0 Set-290-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-BMW-TGD13-TA1147_pnjv-zh.jpg Set 290 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil BMW TGD13-TA1147 991 1000 3942229
3941977 1730414 product 0 3942230 A 0 Set-290-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-BMW-TGD13-TA1147_fmle-au.jpg Set 290 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil BMW TGD13-TA1147 842 314 3942230
3941979 1730415 product 0 3942232 A 0 Set-255-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Volkswagen-TGD13-TA1149_iic8-hb.jpg Set 255 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Volkswagen TGD13-TA1149 1000 613 3942232
3941980 1730415 product 0 3942233 A 0 Set-255-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Volkswagen-TGD13-TA1149_z0e2-nm.jpg Set 255 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Volkswagen TGD13-TA1149 1000 821 3942233
3941981 1730415 product 0 3942234 A 0 Set-255-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Volkswagen-TGD13-TA1149_aj5f-5c.jpg Set 255 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Volkswagen TGD13-TA1149 1000 863 3942234
3941982 1730415 product 0 3942235 A 0 Set-255-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Volkswagen-TGD13-TA1149_d6ef-rc.jpg Set 255 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Volkswagen TGD13-TA1149 991 1000 3942235
3941983 1730415 product 0 3942236 A 0 Set-255-clipsuri-auto-Tagred-de-fixare--12-modele--cu-cutie-organizator--compatibil-Volkswagen-TGD13-TA1149_h4er-7d.jpg Set 255 clipsuri auto Tagred de fixare, 12 modele, cu cutie organizator, compatibil Volkswagen TGD13-TA1149 936 724 3942236