SELECT 
  cscart_product_descriptions.product_id, 
  cscart_product_descriptions.product, 
  cscart_product_descriptions.short_description, 
  IF(
    cscart_product_descriptions.short_description = '' 
    OR cscart_product_descriptions.short_description IS NULL, 
    cscart_product_descriptions.full_description, 
    ''
  ) AS full_description 
FROM 
  cscart_product_descriptions 
WHERE 
  cscart_product_descriptions.product_id IN (
    5841, 5840, 5839, 5838, 5835, 3188, 3189, 
    3749, 5064, 3185, 1672, 1667
  ) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00029

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "8.41"
    },
    "table": {
      "table_name": "cscart_product_descriptions",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY",
        "product_id"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "product_id",
        "lang_code"
      ],
      "key_length": "9",
      "rows_examined_per_scan": 12,
      "rows_produced_per_join": 12,
      "filtered": "100.00",
      "index_condition": "((`dbggbern`.`cscart_product_descriptions`.`product_id` in (5841,5840,5839,5838,5835,3188,3189,3749,5064,3185,1672,1667)) and (`dbggbern`.`cscart_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "7.21",
        "eval_cost": "1.20",
        "prefix_cost": "8.41",
        "data_read_per_join": "45K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "product",
        "short_description",
        "full_description"
      ]
    }
  }
}

Result

product_id product short_description full_description
1667 Ultimate Guard 160+ Twin Flip' n 'Tray Green <p>- Designed für bis zu 160 (double-sleeved) oder 200 (single-sleeved) Karten der Standardgröße in Ultimate Guard Sleeves*<br>- Herausnehmbare Karten- und Zubehörfächer<br>- Unabhängiger Zugriff zu jedem Fach<br>- Widerstandsfähiges XenoSkin -Material<br>- Mikrofaser bezogene Innenseite<br>- Starker Magnetverschluss</p>
1672 Ultimate Guard 160+ Twin Flip' n 'Tray Blue <p>- Designed für bis zu 160 (double-sleeved) oder 200 (single-sleeved) Karten der Standardgröße in Ultimate Guard Sleeves*<br>- Herausnehmbare Karten- und Zubehörfächer<br>- Unabhängiger Zugriff zu jedem Fach<br>- Widerstandsfähiges XenoSkin -Material<br>- Mikrofaser bezogene Innenseite<br>- Starker Magnetverschluss</p>
3185 Ultimate Guard - Zipfolio 160 – 8-Pocket Xenoskin Black <p>High quality Portfolio with durable cover, innovative XenoSkin surface with 4-pocket-pages for 160 cards for all standard- and Japanese sized gaming cards. Zipper closure for extra security!</p>
3188 Ultimate Guard - MatPod - Green <p>MatPod - Schutzröhre für Spielmatten bis zu 38 cm, grünBeschützt Ihre Play-Mat bei jeder Gelegenheit!Besonders feste und robuste Transport-Röhre für alle Spielmatten der Standardgröße oder alles andere, das man zusammenrollt, wie Poster, Drucke, Skizzen und ähnliches. Verschiedene Farbvarianten erhältlich.Achtung! Nicht für Kinder unter 36 Monaten geeignet.- Perfekt für alle Play-Mats der Standardgröße- Abnehmbare Verschlusskappe- Für Karabinerhaken geeignet- Pop-Up-Verschluss für schnellen Zugriff- Starkes, robustes Material- Wasserbeständig.</p>
3189 Ultimate Guard - MatPod - Protection for Playmats, Black <p>MatPod - Schutzröhre für Spielmatten bis zu 38 cm, grünBeschützt Ihre Play-Mat bei jeder Gelegenheit!Besonders feste und robuste Transport-Röhre für alle Spielmatten der Standardgröße oder alles andere, das man zusammenrollt, wie Poster, Drucke, Skizzen und ähnliches. Verschiedene Farbvarianten erhältlich.Achtung! Nicht für Kinder unter 36 Monaten geeignet.- Perfekt für alle Play-Mats der Standardgröße- Abnehmbare Verschlusskappe- Für Karabinerhaken geeignet- Pop-Up-Verschluss für schnellen Zugriff- Starkes, robustes Material- Wasserbeständig.</p>
3749 Ultimate Guard - MatPod - Protection for Playmats, Clear <p>MatPod - Schutzröhre für Spielmatten bis zu 38 cm, grünBeschützt Ihre Play-Mat bei jeder Gelegenheit!Besonders feste und robuste Transport-Röhre für alle Spielmatten der Standardgröße oder alles andere, das man zusammenrollt, wie Poster, Drucke, Skizzen und ähnliches. Verschiedene Farbvarianten erhältlich.Achtung! Nicht für Kinder unter 36 Monaten geeignet.- Perfekt für alle Play-Mats der Standardgröße- Abnehmbare Verschlusskappe- Für Karabinerhaken geeignet- Pop-Up-Verschluss für schnellen Zugriff- Starkes, robustes Material- Wasserbeständig.</p>
5064 Ultimate Guard - Return to Earth Boulder 100+ - Limited Artist Edition #2 Mario Renaud: The Search <p><b>Venture into the exciting fantasy worlds of the next chapter of the Ultimate Guard Artist Edition: Follow an adventurer to the ruins of an abandoned desert city or unravel the mystery behind the blossoming tree in the middle of an icy wasteland.</b></p> <p>The motifs of Artist Edition #2 were created by artist Mario Renaud and are not only available as RTE Boulder 100+, but also as a Play-Mat and Collector's Album'n'Case. The deck box offers space for 100 (double-sleeved) or 120 (single-sleeved) cards from games such as Magic: The Gathering, Pokémon or Lorcana. As part of our Return to Earth series, the Boulder is made from 78% renewable raw materials. The deck box is made in Germany and features a durable and vibrant full-color print.</p> <ul><li><b>&nbsp;Designed for up to 100 (double-sleeved) or 120 (single-sleeved) cards</b></li><li><b>&nbsp;Discover more products with the same artwork from the Artist Edition</b></li><li><b>&nbsp;Durable and vibrant full color print</b></li><li><b>&nbsp;Made in Germany from 78% renewable raw materials</b></li><li><b>&nbsp;Packaging made from 100% recycled and further recyclable material</b></li><li><b>&nbsp;Dimensions: 76 × 75 × 98.5 mm</b></li></ul>
5835 Ultimate Guard - Katana Sleeves Standardgröße Summer Cloud (100 Sleeves) <p><strong>Protect your cards like a Samurai with Ultimate Guard's Katana sleeves! Honoring the tradition of great Japanese craftmanship, these precision-made, top-of-the-line sleeves are fully opaque, extremely durable and will meet the highest standards of players and collectors alike!</strong></p> <p><strong>Product Specification:</strong></p> <ul><li>100 sleeves for the protection of standard-sized cards</li><li>Made in Japan</li><li>Extra clear front side</li><li>Fully opaque back side</li><li>For tournament gameplay*</li><li>Extra long lifespan and durability</li><li>Perfect shuffling</li><li>Acid free, no PVC</li><li>Sleeve size: 66 x 91 mm</li></ul> <p><strong>* Sleeves are subject to tournament judge approval</strong></p>
5838 Ultimate Guard - Katana Sleeves Standardgröße Rising Sun (100 Sleeves) <p><strong>Protect your cards like a Samurai with Ultimate Guard's Katana sleeves! Honoring the tradition of great Japanese craftmanship, these precision-made, top-of-the-line sleeves are fully opaque, extremely durable and will meet the highest standards of players and collectors alike!</strong></p> <p><strong>Product Specification:</strong></p> <ul><li>100 sleeves for the protection of standard-sized cards</li><li>Made in Japan</li><li>Extra clear front side</li><li>Fully opaque back side</li><li>For tournament gameplay*</li><li>Extra long lifespan and durability</li><li>Perfect shuffling</li><li>Acid free, no PVC</li><li>Sleeve size: 66 x 91 mm</li></ul> <p><strong>* Sleeves are subject to tournament judge approval</strong></p>
5839 Ultimate Guard - Katana Sleeves Standardgröße Radiant Plum (100 Sleeves) <p><strong>Protect your cards like a Samurai with Ultimate Guard's Katana sleeves! Honoring the tradition of great Japanese craftmanship, these precision-made, top-of-the-line sleeves are fully opaque, extremely durable and will meet the highest standards of players and collectors alike!</strong></p> <p><strong>Product Specification:</strong></p> <ul><li>100 sleeves for the protection of standard-sized cards</li><li>Made in Japan</li><li>Extra clear front side</li><li>Fully opaque back side</li><li>For tournament gameplay*</li><li>Extra long lifespan and durability</li><li>Perfect shuffling</li><li>Acid free, no PVC</li><li>Sleeve size: 66 x 91 mm</li></ul> <p><strong>* Sleeves are subject to tournament judge approval</strong></p>
5840 Ultimate Guard - Katana Sleeves Standardgröße Obsidian Shard (100 Sleeves) <p><strong>Protect your cards like a Samurai with Ultimate Guard's Katana sleeves! Honoring the tradition of great Japanese craftmanship, these precision-made, top-of-the-line sleeves are fully opaque, extremely durable and will meet the highest standards of players and collectors alike!</strong></p> <p><strong>Product Specification:</strong></p> <ul><li>100 sleeves for the protection of standard-sized cards</li><li>Made in Japan</li><li>Extra clear front side</li><li>Fully opaque back side</li><li>For tournament gameplay*</li><li>Extra long lifespan and durability</li><li>Perfect shuffling</li><li>Acid free, no PVC</li><li>Sleeve size: 66 x 91 mm</li></ul> <p><strong>* Sleeves are subject to tournament judge approval</strong></p>
5841 Ultimate Guard - Katana Sleeves Standardgröße Iris Bloom (100 Sleeves) <p><strong>Protect your cards like a Samurai with Ultimate Guard's Katana sleeves! Honoring the tradition of great Japanese craftmanship, these precision-made, top-of-the-line sleeves are fully opaque, extremely durable and will meet the highest standards of players and collectors alike!</strong></p> <p><strong>Product Specification:</strong></p> <ul><li>100 sleeves for the protection of standard-sized cards</li><li>Made in Japan</li><li>Extra clear front side</li><li>Fully opaque back side</li><li>For tournament gameplay*</li><li>Extra long lifespan and durability</li><li>Perfect shuffling</li><li>Acid free, no PVC</li><li>Sleeve size: 66 x 91 mm</li></ul> <p><strong>* Sleeves are subject to tournament judge approval</strong></p>