SELECT 
  b.variant_name, 
  a.* 
FROM 
  cscart_product_option_variants AS a 
  LEFT JOIN cscart_product_option_variants_descriptions AS b ON b.variant_id = a.variant_id 
  AND b.lang_code = 'fr' 
WHERE 
  1 
  AND a.option_id IN (
    32, 170, 34, 50, 188, 2, 52, 9, 82, 84, 154, 
    155, 187, 189, 205, 215, 216, 217, 219, 
    201, 153, 177, 62, 195, 180, 182, 44, 
    46, 190, 184, 204
  ) 
  AND a.status = 'A' 
ORDER BY 
  a.position, 
  a.variant_id

Query time 0.00085

JSON explain

{
  "query_block": {
    "select_id": 1,
    "read_sorted_file": {
      "filesort": {
        "sort_key": "a.position, a.variant_id",
        "table": {
          "table_name": "a",
          "access_type": "ALL",
          "possible_keys": ["status", "option_id", "option_id_2"],
          "rows": 352,
          "filtered": 45.17045593,
          "attached_condition": "a.option_id in (32,170,34,50,188,2,52,9,82,84,154,155,187,189,205,215,216,217,219,201,153,177,62,195,180,182,44,46,190,184,204) and a.`status` = 'A'"
        }
      }
    },
    "table": {
      "table_name": "b",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "9",
      "used_key_parts": ["variant_id", "lang_code"],
      "ref": ["multi_vendor.a.variant_id", "const"],
      "rows": 1,
      "filtered": 100,
      "attached_condition": "trigcond(b.lang_code = 'fr')"
    }
  }
}

Result

variant_name variant_id option_id position modifier modifier_type weight_modifier weight_modifier_type point_modifier point_modifier_type status
314 50 0 0.000 A 0.000 A 0.000 A A
318 52 0 0.000 A 0.000 A 0.000 A A
Pas utile pour cette commande 501 46 0 0.000 A 0.000 A 0.000 A A
Pas utile pour cette commande 502 9 0 0.000 A 0.000 A 0.000 A A
Pas utile pour cette commande 503 44 0 0.000 A 0.000 A 0.000 A A
Standard (1mm) 535 62 0 0.000 A 0.000 A 0.000 A A
Teinte A1 17 9 1 0.000 A 0.000 A 0.000 A A
Teinte 01 226 44 1 0.000 A 0.000 A 0.000 A A
Teinte 01-110 266 46 1 0.000 A 0.000 A 0.000 A A
312 50 1 0.000 A 0.000 A 0.000 A A
316 52 1 0.000 A 0.000 A 0.000 A A
Je vous laisse choisir 550 182 1 0.000 A 0.000 A 0.000 A A
Anthogyr (France) : Ø 3.0 – 5.0 mm 663 215 1 0.000 A 0.000 A 0.000 A A
Ø 2,5 mm – 2,9 mm → Mini-implants 669 216 1 0.000 A 0.000 A 0.000 A A
Implant Scellé 673 217 1 0.000 A 0.000 A 0.000 A A
Teinte A2 18 9 2 0.000 A 0.000 A 0.000 A A
Teinte 1A 228 44 2 0.000 A 0.000 A 0.000 A A
Teinte 1A-120 268 46 2 0.000 A 0.000 A 0.000 A A
Rigide (1mm) 344 62 2 0.000 A 0.000 A 0.000 A A
Alpha-Bio (Israël) : Ø 3.2 – 5.0 mm 664 215 2 0.000 A 0.000 A 0.000 A A
Ø 3,0 mm – 3,3 mm → Petits diamètres 670 216 2 0.000 A 0.000 A 0.000 A A
Teinte A3 19 9 3 0.000 A 0.000 A 0.000 A A
Teinte 2A 230 44 3 0.000 A 0.000 A 0.000 A A
Teinte 2A-130 270 46 3 0.000 A 0.000 A 0.000 A A
Astra Tech (Suède/Dentsply) : Ø 3.0 – 5.4 mm 665 215 3 0.000 A 0.000 A 0.000 A A
Ø 3,5 mm – 3,8 mm → Standard "fin" 671 216 3 0.000 A 0.000 A 0.000 A A
Teinte A3.5 181 9 4 0.000 A 0.000 A 0.000 A A
Teinte 1C 232 44 4 0.000 A 0.000 A 0.000 A A
Teinte 1C-140 272 46 4 0.000 A 0.000 A 0.000 A A
Semi-rigide (1mm) 342 62 4 0.000 A 0.000 A 0.000 A A
Teinte A4 183 9 5 0.000 A 0.000 A 0.000 A A
Teinte 2B 234 44 5 0.000 A 0.000 A 0.000 A A
Teinte 2B-210 274 46 5 0.000 A 0.000 A 0.000 A A
Gouttière de contention 532 177 5 0.000 A 0.000 A 0.000 A A
Appareil Résine de 1 à 6 dent(s) 581 190 5 0.000 A 0.000 A 0.000 A A
Stellite de 1 à 6 dents 598 195 5 0.000 A 0.000 A 0.000 A A
Pas défini par le Praticien 619 153 5 0.000 A 0.000 A 0.000 A A
Pas défini par le Praticien 620 204 5 0.000 A 0.000 A 0.000 A A
A définir 633 180 5 0.000 A 0.000 A 0.000 A A
A définir 641 184 5 0.000 A 0.000 A 0.000 A A
Implant Transvissé 674 217 5 0.000 A 0.000 A 0.000 A A
Teinte B1 185 9 6 0.000 A 0.000 A 0.000 A A
Teinte 1D 236 44 6 0.000 A 0.000 A 0.000 A A
Teinte 1D-220 276 46 6 0.000 A 0.000 A 0.000 A A
Teinte B2 187 9 7 0.000 A 0.000 A 0.000 A A
Teinte 1E 238 44 7 0.000 A 0.000 A 0.000 A A
Teinte 1E-230 278 46 7 0.000 A 0.000 A 0.000 A A
Teinte B3 189 9 8 0.000 A 0.000 A 0.000 A A
Teinte 2C 240 44 8 0.000 A 0.000 A 0.000 A A
Teinte 2C-240 280 46 8 0.000 A 0.000 A 0.000 A A
Souple (1mm) 338 62 8 0.000 A 0.000 A 0.000 A A
Teinte B4 191 9 9 0.000 A 0.000 A 0.000 A A
Teinte 3A 242 44 9 0.000 A 0.000 A 0.000 A A
Teinte 3A-310 282 46 9 0.000 A 0.000 A 0.000 A A
UNITAIRE(S) 6 2 10 0.000 A 0.000 A 0.000 A A
Teinte C1 193 9 10 0.000 A 0.000 A 0.000 A A
Teinte 5B 244 44 10 0.000 A 0.000 A 0.000 A A
Teinte 5B-320 284 46 10 0.000 A 0.000 A 0.000 A A
Rigide (2mm) 336 62 10 0.000 A 0.000 A 0.000 A A
Fabricant: Mesa (Italie) - CE 0476 - Normes 22674 - N° de lot: 11641 380 82 10 0.000 A 0.000 A 0.000 A A
Fabricant: Shofu (Japon) - CE 0123 - Normes ISO 6872 - N° de lot: 032242 384 84 10 0.000 A 0.000 A 0.000 A A
Prothèse du Haut 489 153 10 0.000 A 0.000 A 0.000 A A
Fabricant: Shofu (Japon) - CE 0123 - Normes ISO 6872 - N° de lot: 3426879 492 154 10 0.000 A 0.000 A 0.000 A A
Fabricant: Shofu (Japon) - CE 0123 - Normes ISO 6872 - N° de lot: 652769 493 155 10 0.000 A 0.000 A 0.000 A A
Gouttière de blanchiment avec réservoir 533 177 10 10.000 A 0.000 A 0.000 A A
Inlay-Core Métal 572 187 10 0.000 A 0.000 A 0.000 A A
CCM en Finition Directe 576 188 10 0.000 A 0.000 A 0.000 A A
FINITION DIRECTE 1-6 578 184 10 0.000 A 0.000 A 0.000 A A
Zircone Finition Directe 579 189 10 0.000 A 0.000 A 0.000 A A
Appareil Résine de 7 à 12 dent(s) 582 190 10 30.000 A 0.000 A 0.000 A A
Stellite de 7 à 12 dents 599 195 10 30.000 A 0.000 A 0.000 A A
P.E.I Perforé 609 204 10 0.000 A 0.000 A 0.000 A A
Inlay - Onlay Composite 611 205 10 0.000 A 0.000 A 0.000 A A
Stellite Finition Directe 1-6 623 180 10 0.000 A 0.000 A 0.000 A A
Camlog (Allemagne) : Ø 3.3 – 5.0 mm 666 215 10 0.000 A 0.000 A 0.000 A A
Ø 4,5 mm – 4,8 mm → Large (molaires, densité osseuse faible) 672 216 10 0.000 A 0.000 A 0.000 A A
Implant Scellé et Transvissé 675 217 10 0.000 A 0.000 A 0.000 A A
CCM 681 219 10 0.000 A 0.000 A 0.000 A A
Teinte C2 195 9 11 0.000 A 0.000 A 0.000 A A
Teinte 2E 246 44 11 0.000 A 0.000 A 0.000 A A
Teinte 2E-330 286 46 11 0.000 A 0.000 A 0.000 A A
Teinte C3 197 9 12 0.000 A 0.000 A 0.000 A A
Teinte 3E 248 44 12 0.000 A 0.000 A 0.000 A A
Teinte 3E-340 288 46 12 0.000 A 0.000 A 0.000 A A
Semi-Rigide (2mm) 659 62 12 0.000 A 0.000 A 0.000 A A
Teinte C4 199 9 13 0.000 A 0.000 A 0.000 A A
Teinte 4A 250 44 13 0.000 A 0.000 A 0.000 A A
Teinte 4A-410 290 46 13 0.000 A 0.000 A 0.000 A A
Teinte D2 201 9 14 0.000 A 0.000 A 0.000 A A
Teinte 6B 252 44 14 0.000 A 0.000 A 0.000 A A
Teinte 6B-420 292 46 14 0.000 A 0.000 A 0.000 A A
Souple (2mm) 660 62 14 0.000 A 0.000 A 0.000 A A
Teinte D3 203 9 15 0.000 A 0.000 A 0.000 A A
Teinte 4B 254 44 15 0.000 A 0.000 A 0.000 A A
Teinte 4B-430 294 46 15 0.000 A 0.000 A 0.000 A A
Gouttière de bruxisme 534 177 15 30.000 A 0.000 A 0.000 A A
Appareil Résine Complet 583 190 15 50.000 A 0.000 A 0.000 A A
Stellite Complet 600 195 15 50.000 A 0.000 A 0.000 A A
Cortex (Israël) : Ø 3.3 – 5.0 mm 667 215 15 0.000 A 0.000 A 0.000 A A
Teinte D4 205 9 16 0.000 A 0.000 A 0.000 A A
Teinte 6C 256 44 16 0.000 A 0.000 A 0.000 A A
Teinte 6C-440 296 46 16 0.000 A 0.000 A 0.000 A A
Teinte 6D 258 44 17 0.000 A 0.000 A 0.000 A A
Teinte 6D-510 298 46 17 0.000 A 0.000 A 0.000 A A
Teinte 4C 260 44 18 0.000 A 0.000 A 0.000 A A
Teinte 4C-520 300 46 18 0.000 A 0.000 A 0.000 A A
Teinte 3C 262 44 19 0.000 A 0.000 A 0.000 A A
Teinte 3C-530 302 46 19 0.000 A 0.000 A 0.000 A A
SOLIDAIRE(S) 10 2 20 0.000 A 0.000 A 0.000 A A
Teinte 4D 264 44 20 0.000 A 0.000 A 0.000 A A
Teinte 4D-540 304 46 20 0.000 A 0.000 A 0.000 A A
Prothèse du Bas 490 153 20 0.000 A 0.000 A 0.000 A A
Stellite plaque squelettée 551 182 20 0.000 A 0.000 A 0.000 A A
APPAREIL RESINE ESSAYAGE MONTAGE DENT(S) 1-6 561 184 20 -25.000 P 0.000 A 0.000 A A
Inlay-Core Métal + Couche Opaque 573 187 20 10.000 A 0.000 A 0.000 A A
CCM en Essayage Armature 577 188 20 -60.000 P 0.000 A 0.000 A A
Zircone Essayage Armature 580 189 20 -60.000 P 0.000 A 0.000 A A
P.E.I Non Perforé 610 204 20 0.000 A 0.000 A 0.000 A A
Inlay - Onlay Céramique 612 205 20 39.000 A 0.000 A 0.000 A A
Stellite Essayage + Bourrelets d'Occlusion 1-6 624 180 20 -50.000 P 0.000 A 0.000 A A
Euroteknika (France) : Ø 3.0 – 5.0 mm 668 215 20 0.000 A 0.000 A 0.000 A A
ZIRCONE STRATIFIÉE 682 219 20 0.000 A 0.000 A 0.000 A A
Prothèse du Haut & Bas 657 153 25 0.000 A 0.000 A 0.000 A A
BRIDGE 658 2 25 0.000 A 0.000 A 0.000 A A
UNITAIRE(S) & SOLIDAIRES(S) 306 2 30 0.000 A 0.000 A 0.000 A A
Stellite plaque "U" 552 182 30 0.000 A 0.000 A 0.000 A A
Inlay-Core Composite 574 187 30 26.000 A 0.000 A 0.000 A A
Inlay - Onlay Emax 613 205 30 59.000 A 0.000 A 0.000 A A
Stellite Essayage + Montage Dent(s) 1-6 625 180 30 -30.000 P 0.000 A 0.000 A A
APPAREIL RESINE APRES ESSAYAGE FINITION RESINE DURE 1-6 634 184 30 -65.000 P 0.000 A 0.000 A A
Stellite barre Palatine 553 182 40 0.000 A 0.000 A 0.000 A A
Inlay-Core Céramique 575 187 40 46.000 A 0.000 A 0.000 A A
Stellite aprés essayage faire Montage des Dents 1-6 626 180 40 -65.000 P 0.000 A 0.000 A A
FINITION DIRECTE 7-12 635 184 40 0.000 A 0.000 A 0.000 A A
Stellite plaque circulaire 596 182 50 0.000 A 0.000 A 0.000 A A
Stellite aprés essayage faire Finition Résine 1-6 627 180 50 -65.000 P 0.000 A 0.000 A A
APPAREIL RESINE ESSAYAGE MONTAGE DENT(S) 7-12 636 184 50 -40.000 P 0.000 A 0.000 A A
Stellite plaque pleine 597 182 60 0.000 A 0.000 A 0.000 A A
Stellite Finition Directe 7-12 628 180 60 0.000 A 0.000 A 0.000 A A
APPAREIL RESINE APRES ESSAYAGE FINITION RESINE 7-12 637 184 60 -110.000 P 0.000 A 0.000 A A
Stellite Essayage + Bourrelets d'Occlusion 7-12 629 180 70 -82.000 P 0.000 A 0.000 A A
APPAREIL RESINE COMPLET FINITION DIRECTE RESINE 638 184 70 0.000 A 0.000 A 0.000 A A
Stellite Essayage + Montage Dent(s) 7-12 630 180 80 -38.000 P 0.000 A 0.000 A A
APPAREIL RESINE COMPLET ESSAYAGE MONTAGE DENTS 639 184 80 -50.000 P 0.000 A 0.000 A A
Nobel Biocare (Suisse) : Ø 3.1 – 6.0 mm 680 215 80 0.000 A 0.000 A 0.000 A A
Stellite aprés essayage faire Montage des Dents 7-12 631 180 90 -85.000 P 0.000 A 0.000 A A
APPAREIL RESINE COMPLET APRES ESSAYAGE FINITION 640 184 90 -150.000 P 0.000 A 0.000 A A
Straumann (Suisse) : Ø 3.1 – 6.0 mm 679 215 90 0.000 A 0.000 A 0.000 A A
Stellite aprés essayage faire Finition Résine 7-12 632 180 100 -85.000 P 0.000 A 0.000 A A
Zimmer Biomet (USA) : Ø 3.1 – 6.0 mm 678 215 100 0.000 A 0.000 A 0.000 A A
Stellite Finition Directe Complet 544 180 110 0.000 A 0.000 A 0.000 A A
Stellite Essayage + Bourrelets d'Occlusion Complet 545 180 120 -94.000 P 0.000 A 0.000 A A
Stellite Essayage + Montage Dent(s) Complet 546 180 130 -42.000 P 0.000 A 0.000 A A
Stellite aprés essayage faire Montage des Dents Complet 602 180 140 -96.000 P 0.000 A 0.000 A A
Stellite aprés essayage faire Finition Résine Complet 603 180 150 -96.000 P 0.000 A 0.000 A A