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 (
    5187, 5186, 5197, 5204, 5188, 5200, 5189
  ) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00068

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "4.96"
    },
    "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": 7,
      "rows_produced_per_join": 7,
      "filtered": "100.00",
      "index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_descriptions`.`product_id` in (5187,5186,5197,5204,5188,5200,5189)) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "4.27",
        "eval_cost": "0.70",
        "prefix_cost": "4.97",
        "data_read_per_join": "31K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description",
        "unit_name"
      ]
    }
  }
}

Result

product_id short_description full_description unit_name
5186 <p>Trucillo 100% Arabica Coffee Beans are carefully selected from the finest Arabica plantations to deliver a smooth, aromatic, and naturally sweet coffee experience. This premium blend provides a well-balanced flavor profile with delicate notes of chocolate, floral undertones, and hints of citrus, offering a refined and full-bodied cup. Perfect for espresso, cappuccino, or filter coffee, Trucillo 100% Arabica guarantees consistency, high quality, and the authentic taste of traditional Italian coffee. Its velvety crema, aromatic richness, and gentle intensity make it ideal for both professional baristas and home coffee enthusiasts who appreciate a superior Arabica coffee.</p>
5187 <p>Trucillo Gran Caffè Coffee Beans are a premium Italian blend crafted to deliver a rich, full-bodied espresso with a harmonious balance of flavor, aroma, and intensity. This expertly roasted blend combines high-quality Arabica and Robusta beans to create a velvety crema and a lingering, robust taste with notes of chocolate, caramel, and toasted nuts. Perfect for espresso, cappuccino, or latte, Trucillo Gran Caffè provides a strong yet smooth coffee experience suitable for both professional baristas and home coffee enthusiasts. Each cup captures the essence of Italian coffee tradition, offering consistency, depth, and an authentic café-quality flavor.</p>
5188 <p>Trucillo Special Bar Coffee Beans are crafted to deliver a premium Italian espresso experience with a perfect balance of strength, aroma, and smoothness. This expertly roasted blend combines high-quality Arabica and Robusta beans to produce a full-bodied, rich coffee with a velvety crema and lingering aromatic notes. Each cup reveals subtle hints of chocolate, toasted nuts, and mild spices, providing a refined and satisfying coffee experience. Ideal for espresso, cappuccino, or latte, Trucillo Special Bar guarantees consistent flavor, quality, and the authentic taste of Italian coffee culture, whether prepared in professional cafés or at home.</p>
5189 <p>Trucillo Gran Bar Coffee Beans are crafted to deliver a rich, full-bodied espresso with a perfectly balanced flavor, aroma, and intensity. This premium blend combines carefully selected Arabica and Robusta beans to produce a velvety crema and a lingering taste with hints of chocolate, caramel, and toasted nuts. Ideal for espresso, cappuccino, or latte, Trucillo Gran Bar provides a refined and satisfying coffee experience. Designed for both professional baristas and home coffee enthusiasts, it ensures consistency, quality, and the authentic taste of Italian coffee culture in every cup.</p>
5197 <p>Trucillo Crema Bar Coffee Beans are crafted to deliver a smooth and creamy espresso with a perfect balance of flavor, body, and aroma. This blend of high-quality Arabica and Robusta beans is carefully roasted to create a velvety crema, rich taste, and a delightful aromatic profile. Each cup reveals subtle notes of chocolate, toasted cereals, and a touch of caramel, offering a satisfying and harmonious coffee experience. Ideal for espresso, cappuccino, or latte, Trucillo Crema Bar guarantees consistent quality and the authentic Italian coffee tradition, making it perfect for both professional baristas and home coffee lovers.</p>
5200 <p>Trucillo Gusto Bar Coffee Beans are a carefully balanced blend designed to deliver an authentic Italian espresso with richness, aroma, and character. By combining selected Arabica and Robusta beans, this coffee offers a full-bodied taste with a smooth crema and lingering flavor. Each cup reveals notes of dark chocolate, roasted nuts, and subtle spices, providing an intense yet refined coffee experience. Perfect for espresso, cappuccino, or latte, Trucillo Gusto Bar ensures consistency and high quality, making it suitable for both professional baristas and coffee lovers at home who value tradition and excellence in every cup.</p>
5204 <p>Trucillo Il Mio Espresso Intenso Coffee Capsules are crafted to deliver a strong, bold Italian espresso with an intense aroma and a full-bodied flavor. Made from a masterful blend of Arabica and Robusta beans, this espresso reveals notes of dark chocolate, roasted nuts, and subtle hints of spices. Each capsule produces a dense, velvety crema and a lingering finish that satisfies lovers of rich and powerful coffee. Designed for espresso and lungo preparations, Trucillo Il Mio Espresso Intenso captures the essence of Italian coffee culture, offering quality, consistency, and convenience in every cup, whether at home or in the office.</p>