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 (
    4793, 4784, 4785, 4783, 4787, 4768, 4728, 
    4791, 4786, 4792
  ) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00052

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "7.09"
    },
    "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": 10,
      "rows_produced_per_join": 10,
      "filtered": "100.00",
      "index_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_descriptions`.`product_id` in (4793,4784,4785,4783,4787,4768,4728,4791,4786,4792)) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "6.09",
        "eval_cost": "1.00",
        "prefix_cost": "7.09",
        "data_read_per_join": "45K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description",
        "unit_name"
      ]
    }
  }
}

Result

product_id short_description full_description unit_name
4728 <p>Super Mario Party on Nintendo Switch delivers the ultimate party game experience with over 80 fun mini-games, classic board game modes, and exciting multiplayer action. Play with friends and family locally or online, compete in fast-paced challenges, and enjoy the colorful world of Mario like never before.</p>
4768 <p>Mario RPG: Superstar Saga on Nintendo Switch brings a classic role-playing adventure to life with Mario and his friends. Players explore colorful worlds, engage in turn-based battles, and solve puzzles while experiencing an engaging story filled with humor and memorable characters. The game allows players to develop their characters, learn new abilities, and collect powerful items to overcome challenging enemies and bosses. With a combination of exploration, strategy, and action-packed combat, this Mario RPG delivers a rich and immersive gameplay experience. Fans of RPGs and Mario alike will enjoy hours of entertainment filled with adventure, clever dialogue, and charming visuals, optimized for the Switch.</p>
4783 <p>Super Mario Odyssey on Nintendo Switch is a thrilling 3D platforming adventure that takes Mario across diverse and imaginative worlds. Players join Mario on a quest to rescue Princess Peach from Bowser, traveling through kingdoms filled with secrets, collectibles, and hidden challenges. Utilizing Mario’s new companion, Cappy, players can capture and control enemies and objects, opening up innovative gameplay possibilities. The game features expansive environments, creative level design, and countless surprises that encourage exploration and replayability. With cooperative multiplayer options, vibrant graphics, and intuitive controls optimized for the Switch, Super Mario Odyssey delivers an unforgettable adventure suitable for players of all ages, blending classic platforming with modern gameplay mechanics.</p>
4784 <p>Animal Crossing: New Horizons on Nintendo Switch is a relaxing and immersive life-simulation game where players create and manage their own island paradise. Players can customize their homes, design landscapes, interact with charming animal villagers, and participate in seasonal events and activities. The game encourages creativity, exploration, and social interaction, allowing players to visit friends’ islands locally or online. With its open-ended gameplay, dynamic in-game economy, and the freedom to shape the island as desired, Animal Crossing: New Horizons provides endless hours of fun and relaxation. The game’s charming visuals, soothing soundtrack, and gentle progression make it an enjoyable experience for players of all ages.</p>
4785 <p>Grand Theft Auto: The Trilogy – The Definitive Edition on Nintendo Switch brings three classic open-world crime adventures together in one enhanced package. Players can experience the stories of Grand Theft Auto III, Vice City, and San Andreas with updated graphics, improved controls, and optimized performance for the Switch. Explore sprawling cities, engage in missions, heists, and side activities, and interact with diverse characters across decades of iconic gameplay. The Definitive Edition enhances the original experiences while maintaining the charm and atmosphere of the classic games. With both handheld and docked modes, players can enjoy the freedom of open-world exploration and high-octane action anywhere, anytime.</p>
4786 <p>Mario vs. Donkey Kong on Nintendo Switch is a fun and challenging puzzle-platformer that brings classic Mario action to handheld and console play. Players guide Mario through cleverly designed levels, avoiding traps, solving puzzles, and collecting coins to progress. The game introduces creative mechanics and interactive elements that test problem-solving skills while maintaining the iconic Mario charm. Players can create and share their own levels online, challenging others around the world. With colorful visuals, catchy music, and engaging gameplay, Mario vs. Donkey Kong: Tipping Stars offers hours of entertainment for fans of both puzzles and platforming, providing a perfect balance of strategy, timing, and fun.</p>
4787 <p>Minecraft on Nintendo Switch offers a limitless sandbox experience where players can build, explore, and survive in a blocky, procedurally generated world. Players gather resources, craft tools, and construct incredible structures while facing challenges from monsters and environmental hazards. The game encourages creativity and problem-solving, allowing players to design anything from simple homes to massive cities or intricate redstone contraptions. With multiplayer support both locally and online, friends can join together to collaborate or compete in endless adventures. The Switch version is optimized for both handheld and docked play, giving players the freedom to enjoy Minecraft anytime, anywhere, while experiencing its iconic charm and endless possibilities.</p>
4791 <p>The Legend of Zelda: Tears of the Kingdom on Nintendo Switch is an epic action-adventure game that expands the rich world of Hyrule. Players assume the role of Link, exploring vast landscapes, ancient ruins, and mysterious dungeons to uncover secrets and defeat formidable enemies. The game introduces new mechanics, creative puzzles, and dynamic combat that blend seamlessly with the series’ signature exploration and storytelling. Players can collect powerful items, upgrade abilities, and interact with a variety of characters across the kingdom. With breathtaking visuals, immersive gameplay, and freedom to approach challenges in multiple ways, Tears of the Kingdom provides a deeply engaging experience that appeals to both longtime fans and new players alike.</p>
4792 <p>The Witcher 3: Wild Hunt – Complete Edition on Nintendo Switch is an expansive open-world action RPG that immerses players in a rich and dark fantasy universe. Players take on the role of Geralt of Rivia, a skilled monster hunter navigating a war-torn world filled with complex characters, dangerous beasts, and morally challenging decisions. The game features a vast open world to explore, dynamic combat, alchemy, crafting, and engaging side quests alongside the main story. Optimized for the Switch, players can enjoy both handheld and docked gameplay with enhanced controls and smooth performance. With its deep narrative, detailed environments, and countless hours of content, The Witcher 3 offers an unforgettable and mature gaming experience.</p>
4793 <p>Super Mario Party: Jamboree on Nintendo Switch is a fun-filled party game that brings friends and family together for endless mini-game excitement. Players can choose from a wide roster of Mario characters and compete in over 80 unique mini-games that test skill, strategy, and luck. The game features classic board modes, fast-paced challenges, and cooperative multiplayer opportunities both locally and online. Colorful worlds, engaging animations, and a lively soundtrack enhance the festive atmosphere, while intuitive controls make it accessible for players of all ages. Super Mario Party: Jamboree offers hours of entertainment, laughter, and friendly competition, making it a must-have for any Nintendo Switch collection.</p>