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 (
    7072, 7071, 7070, 2773, 6437, 6435, 6434, 
    6440, 6438, 6439, 7617, 7223, 7616, 
    7613, 7615, 7614, 7618, 7115, 7116, 
    7221, 3044, 7222, 1243, 7224
  ) 
  AND cscart_product_descriptions.lang_code = 'de'

Query time 0.00061

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "16.81"
    },
    "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": 24,
      "rows_produced_per_join": 24,
      "filtered": "100.00",
      "index_condition": "((`dbggbern`.`cscart_product_descriptions`.`product_id` in (7072,7071,7070,2773,6437,6435,6434,6440,6438,6439,7617,7223,7616,7613,7615,7614,7618,7115,7116,7221,3044,7222,1243,7224)) and (`dbggbern`.`cscart_product_descriptions`.`lang_code` = 'de'))",
      "cost_info": {
        "read_cost": "14.41",
        "eval_cost": "2.40",
        "prefix_cost": "16.81",
        "data_read_per_join": "91K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "product",
        "short_description",
        "full_description"
      ]
    }
  }
}

Result

product_id product short_description full_description
1243 Pokémon TCG - Seaside Playmat <p>Play-Mat Pokémon -Seaside-</p> <p>Spielmatte mit hochwertigem Stoffaufsatz, um Kartenschäden während des Spiels zu vermeiden. Die Abmessungen betragen ca. 61 x 34 cm. Die Gummiunterlage lässt die Spielmatte flach liegen und verhindert, dass sich die Matte während des Gebrauchs verschiebt</p>
2773 Pokémon TCG - Arceus Elite Series Alcove Flip Box <p>Bietet Platz für bis zu 100 Karten im Standardformat mit zwei Hüllen</p> <ul><li>Kartenhüllen sind nicht enthalten</li><li>Starker Magnetverschluss mit mehreren Magneten, die den Deckel sicher geschlossen halten</li><li>Der Deckel kann von beiden Seiten der Box abgenommen werden</li><li>Geprägtes Kunstleder-Finish mit Foliendetails</li></ul>
3044 Pokemon TCG - Pokémon Enchanted Glade Playmat <p>Play-Mat Pokémon -Enchanted Glade-</p> <p>Spielmatte mit hochwertigem Stoffaufsatz, um Kartenschäden während des Spiels zu vermeiden. Die Abmessungen betragen ca. 61 x 34 cm. Die Gummiunterlage lässt die Spielmatte flach liegen und verhindert, dass sich die Matte während des Gebrauchs verschiebt</p>
6434 Pokémon TCG - Charmander Deck Protector (65 Sleeves) <p>Pokémon TCG - Charmander Deck Protector (65 Sleeves)</p>
6435 Pokémon TCG - Charmander 9-Pocket Portfolio <p>Pokémon TCG - Charmander 9-Pocket Portfolio</p>
6437 Pokémon TCG - Charmander 4-Pocket Portfolio <p>Pokémon TCG - Charmander 4-Pocket Portfolio</p>
6438 Pokémon TCG - Charmander Play Mat <p>Pokémon TCG - Charmander Play Mat</p>
6439 Pokémon TCG - Charmander PRO-Binder 9-Pocket <p>Pokémon TCG - Charmander PRO-Binder 9-Pocket</p>
6440 Pokémon TCG - Charmander Full-View Deck Box <p>Pokémon TCG - Charmander Full-View Deck Box</p>
7070 Pokemon Center Original Card Game Sleeve Sentret & Furret 64 sleeves
7071 Pokemon Center Original Card Game Sleeve Pikachu Valentine's Day 64 sleeves
7072 Pokemon Center Original Card Game Sleeve Pikachu & Sprigatito sleeves
7115 Pokémon TCG - Pikachu Deck Protector (65 Sleeves) <p>Pokémon TCG - Pikachu Deck Protector (65 Sleeves)</p>
7116 Pokémon TCG - Pikachu Full-View Deck Box <p>Pokémon TCG - Pikachu Full-View Deck Box</p>
7221 Pokémon TCG - Pikachu Full-View Deck Box Black <p>Pokémon TCG - Pikachu Full-View Deck Box</p>
7222 Pokémon TCG - Scorching Summit Charizard Deck Box <p>Pokémon TCG -&nbsp;&nbsp;Scorching Summit Charizard Deck Box</p>
7223 Pokémon TCG - Greninja Full View Deckbox <p>Pokémon TCG - Greninja Full View Deckbox</p>
7224 Pokémon TCG - Shimmering Skyline Full-View Deckbox <p>Pokémon TCG - Shimmering Skyline Full-View Deckbox</p>
7613 Pokémon TCG - Iono and Bellibolt Deck Protector (65 Sleeves)
7614 Pokémon TCG - Iono and Bellibolt PRO-Binder 9-Pocket
7615 Pokémon TCG - Iono and Bellibolt Play Mat
7616 Pokémon TCG - Iono and Bellibolt 4-Pocket Portfolio
7617 Pokémon TCG - Gardevoir & Venusaur 4-Pocket Portfolio <p>Ultra PRO: Der 4-Pocket-Ordner ist eine vielseitige und zuverlässige Lösung zum Ordnen und Präsentieren Ihrer Pokémon-Karten. Dieser Ordner wurde sowohl für Sammler als auch für Spieler entwickelt und bietet eine ausgewogene Mischung aus Funktionalität, Langlebigkeit und optisch ansprechenden Motiven, um den Bedürfnissen von Sammelkarten-Enthusiasten gerecht zu werden!</p> <p>Pokémon: Ultra PRO 4-Pocket Portfolio Details:</p> <p>Fasst bis zu 80 Sammelkarten.</p> <p>Fasst außerdem bis zu 4 Jumbo-Karten (große Karten).</p> <p>10 hochwertige, archivierungssichere Plastikhüllen</p>
7618 Pokémon TCG - Lucario 9-Pocket Portfolio <p>Pokémon 9-Pocket Portfolio -Mega Entwicklung-</p> <p>Die 9-Taschen-Mappe für Pokémon von Ultra PRO zeichnet sich durch ein lebhaftes Cover aus. Jede Mappe bietet Platz und Schutz für bis zu 126 Karten im Standardformat (einzeln belegt) und 252 Karten (doppelt belegt) in archivierungssicheren Polypropylen-Seiten. Facts & Features:</p> <ul><li>Offiziell lizenzierte Pokémon Sammelkartenspiel 9-Taschen-Mappe</li><li>Enthält 14 Ultra Pro Seiten</li><li>Bietet Platz für 126 Karten im Standardformat (einzeln belegt) und 252 Karten (doppelt belegt)</li><li>Hergestellt aus archivierungssicheren, säurefreien, PVC-freien Materialien</li></ul>