SELECT 
  cscart_product_descriptions.product_id, 
  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, 
  cscart_product_descriptions.unit_name 
FROM 
  cscart_product_descriptions 
WHERE 
  cscart_product_descriptions.product_id IN (
    5008, 5969, 5024, 5017, 5002, 5007, 5019, 
    5010, 5018, 5005, 5011, 5014, 5021, 
    5022, 5006, 5009, 5013, 5004, 5020, 
    5016, 5023
  ) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00083

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "14.88"
    },
    "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": 21,
      "rows_produced_per_join": 21,
      "filtered": "100.00",
      "index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_descriptions`.`product_id` in (5008,5969,5024,5017,5002,5007,5019,5010,5018,5005,5011,5014,5021,5022,5006,5009,5013,5004,5020,5016,5023)) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "12.78",
        "eval_cost": "2.10",
        "prefix_cost": "14.88",
        "data_read_per_join": "95K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description",
        "unit_name"
      ]
    }
  }
}

Result

product_id short_description full_description unit_name
5002 <p>The Nespresso Ristretto Decaffeinato capsule delivers the same intense and full-bodied flavor as the classic Ristretto but without the caffeine. With strong roasted notes, subtle chocolate hints, and a smooth finish, it offers a rich espresso experience perfect for any time of day.</p>
5004 <p>The Nespresso Ispirazione Palermo Kazaar capsule offers an exceptionally intense espresso inspired by the bold flavors of Palermo. With a dark roast profile, it delivers powerful bitterness, rich roasted notes, and a syrupy, full-bodied texture. Perfect for coffee lovers who enjoy a strong, daring, and authentic Italian-style espresso.</p>
5005 <p>The Nespresso Ispirazione Roma capsule captures the balance of strength and finesse inspired by Rome’s coffee traditions. It offers a medium roast with smooth intensity, subtle roasted notes, and a light woody aroma. With its balanced flavor and mild bitterness, it delivers a refined espresso experience suitable for any time of the day.</p>
5006 <p>The Nespresso Ispirazione Ristretto Italiano capsule is inspired by the traditional Italian ristretto. It delivers a powerful espresso with an intense roast, bold roasted notes, and subtle fruity aromas. Full-bodied and rich, it captures the essence of an authentic Italian coffee in a short, concentrated shot.</p>
5007 <p>The Nespresso Ispirazione Venezia capsule is inspired by the coffee traditions of Venice, known for smooth and balanced flavors. It features a light roast that delivers delicate roasted notes, subtle cereal aromas, and a mild, rounded taste. Perfect for those who enjoy a refined espresso with gentle intensity and harmonious flavor.</p>
5008 <p>The Nespresso Ispirazione Firenze Arpeggio capsule is inspired by Florence’s love for dark, intense coffee. It delivers a full-bodied espresso with strong roasted notes, cocoa accents, and a smooth, velvety texture. Bold yet balanced, it offers a rich and authentic Italian coffee experience.</p>
5009 <p>The Nespresso Ispirazione Firenze Arpeggio Decaffeinato capsule offers the rich, full-bodied flavor of the classic Arpeggio without caffeine. It features intense roasted notes, subtle cocoa hints, and a smooth, velvety texture. Perfect for those who enjoy bold Italian espresso flavor at any time of day without the caffeine.</p>
5010 <p>The Nespresso Ispirazione Genova Livanto capsule is inspired by the rich coffee traditions of Genoa. It delivers a medium roast espresso with a balanced profile, combining caramelized notes, subtle roasted aromas, and a smooth, velvety texture. Perfect for those who enjoy a refined and harmonious Italian coffee experience.</p>
5011 <p>The Nespresso Peru Organic capsule features 100% Arabica coffee sourced from organic farms in Peru. It delivers a light to medium roast espresso with delicate floral notes, mild acidity, and a smooth, balanced flavor. Perfect for coffee lovers who enjoy a refined and sustainable coffee experience.</p>
5013 <p>The Nespresso Indonesia capsule features coffee sourced from Indonesian plantations, delivering a full-bodied espresso with earthy, spicy notes and a rich, balanced flavor. Its medium roast and smooth texture provide a complex yet harmonious coffee experience, perfect for those who enjoy bold and distinctive flavors.</p>
5014 <p>The Nespresso Colombia capsule features 100% Arabica coffee sourced from Colombian farms. It delivers a medium roast espresso with bright, fruity notes, mild acidity, and a smooth, balanced flavor. Ideal for coffee lovers who appreciate a refined and aromatic coffee experience.</p>
5016 <p>The Nespresso Vaniglia capsule delivers a smooth and aromatic flavored espresso with natural vanilla notes. It offers a medium roast with a delicate sweetness and creamy texture, perfect for those who enjoy a comforting and subtly flavored coffee experience.</p>
5017 <p>The Nespresso Caramello capsule offers a smooth espresso experience infused with natural caramel notes. It features a medium roast with a sweet, creamy flavor and a velvety texture, perfect for those who enjoy a subtly indulgent and aromatic coffee.</p>
5018 <p>The Nespresso Scuro capsule delivers a dark, intense espresso with full-bodied flavor and bold roasted notes. Its dark roast profile provides a rich, slightly bitter taste with a smooth, lingering finish. Perfect for coffee lovers who enjoy strong, traditional Italian-style espresso.</p>
5019 <p>The Nespresso Cape Town Envivo Lungo capsule offers a rich and full-bodied coffee experience inspired by South African coffee traditions. With a dark roast, it delivers intense roasted notes, subtle cocoa hints, and a smooth, velvety texture. Ideal for those who enjoy a powerful and aromatic lungo.</p>
5020 <p>The Nespresso Shanghai Lungo capsule offers a balanced and aromatic coffee experience inspired by Shanghai’s coffee culture. With a medium roast, it delivers smooth, subtle roasted notes, mild acidity, and a velvety texture. Perfect for those who enjoy a refined and harmonious lungo.</p>
5021 <p>The Nespresso Paris Espresso capsule is inspired by the classic espresso traditions of Paris. It offers a medium roast with rich, roasted notes, subtle fruity undertones, and a smooth, balanced flavor. Perfect for those who enjoy a refined and aromatic espresso experience.</p>
5022 <p>The Nespresso Istanbul Espresso capsule is inspired by the rich coffee traditions of Istanbul. It delivers a medium-dark roast espresso with intense roasted notes, subtle spice hints, and a smooth, full-bodied texture. Perfect for those who enjoy a flavorful and aromatic Italian-style espresso.</p> <p> </p> <p><br /></p> <p></p>
5023 <p>The Nespresso Rio De Janeiro Espresso capsule is inspired by the vibrant coffee culture of Brazil. It delivers a medium roast espresso with rich, roasted notes, mild fruity undertones, and a smooth, balanced texture. Perfect for coffee lovers who enjoy a lively and aromatic espresso experience.</p>
5024 <p>The Nespresso Stockholm Fortissio Lungo capsule offers a rich and full-bodied coffee experience inspired by Stockholm’s coffee traditions. With a dark roast, it delivers intense roasted notes, subtle cocoa undertones, and a smooth, velvety texture. Perfect for those who enjoy a powerful and aromatic lungo.</p>
5969 <p>Nespresso Volluto The light and generous aromas of Brazilian and Colombian arabicas strike graceful harmony in this approachable espresso. There’s a mellow sweet biscuit and fruity acidity in <b>Volluto</b> that knows how to delight. It’s sunny living.</p>