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 (
    312048, 12712, 391035, 21914, 391033, 
    391036, 391034, 154, 161, 165, 166, 
    163, 155, 460948, 184, 183, 145, 12710, 
    12698, 157, 461039, 461275, 391040, 
    461037
  ) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00058

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.04252208,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_product_descriptions",
          "access_type": "range",
          "possible_keys": ["PRIMARY", "product_id"],
          "key": "PRIMARY",
          "key_length": "9",
          "used_key_parts": ["product_id", "lang_code"],
          "loops": 1,
          "rows": 24,
          "cost": 0.04252208,
          "filtered": 100,
          "attached_condition": "cscart_product_descriptions.product_id in (312048,12712,391035,21914,391033,391036,391034,154,161,165,166,163,155,460948,184,183,145,12710,12698,157,461039,461275,391040,461037) and cscart_product_descriptions.lang_code = 'en'"
        }
      }
    ]
  }
}

Result

product_id short_description full_description unit_name
145 <p>With the versatile SanDisk Sansa Fuze+ MP3 player, you'll get more features for less money. You'll be able to watch video on the 2.4-inch screen, share photos, listen to FM radio, record voice memos, and more--all in a device that is just 0.43-inches thin. Internal memory and a microSDHC expansion slot give you plenty of storage options for your digital media, and you can expand your enjoyment even further by adding an optional slotRadio card for an instant library of songs.</p>
154 <p>Koss JR900s are the music lover&rsquo;s answer to true stereo and cordless freedom. Operating on one of the highest power bands available on the market, the Koss JR900 headphone system (consisting of a high quality, battery operated RF transmitter with AC adapter) offers the best in wireless audio technology, allowing you to roam freely over a 70,000-square-foot area. From room to room, inside to outside, even in bright sunlight, you can move to your heart&rsquo;s content without the need for additional transmitters or worry of signal breakup.</p>
155 <p>Koss Porta Pro KTC, the most sophisticated version of the Porta Pro, features a new technological upgrade which brings listeners closer to the music they love. Koss Touch Control (KTC) remote and microphone technology, made for iPhone&reg;, iPad&reg; and iPod&reg;, gives listeners more control in fewer steps. Listeners are now able to stay connected, shuffle song and adjust volume with the flick of a switch.</p>
157 Love at first listen. Striking yet comfortable studio monitor headphones with neodymium magnets deliver sounds even the most discerning of audiophiles will flip for.
161 <p>The 3.0" Flip-Out Display lets you take and view great pictures from multiple angles. Easily adjust the LCD from 0 to 180 degrees and make any shot possible. Snap a picture over a crowd or get waist-level candids of kids and pets, or spin the display for perfectly framed self-portraits. Choose from 3 shutter options to comfortably snap pics from any position.</p>
163 <p>Capture every moment in true-to-life quality. With the best-in-class resolution of the extra large 20.3 MP APS-C CMOS sensor, shots are rich, deep and exquisitely detailed. For active subjects, stills can be captured beautifully with 7fps Continuous Shot/100ms AF Speed. Then review your shot on the large 3.0&rdquo; AMOLED display&mdash;made for sharper images and glare reduction.</p>
165 <p>For your very mobile lifestyle comes a completely new imaging system with freedom to create and express as never before. Highly compact and portable, the Nikon 1 J1 goes everywhere you go. Moments from your amazing world are captured using a highly responsive autofocus and super fast shooting speed. In one touch you can work in Full HD (1080p) movie record mode. A camera so versatile you can even snap photos while recording movies. Unleash your creativity with Nikon 1&mdash;offering a balance of high performance, advanced features, portability and a newly designed interchangeable lens system. Infuse your world with photos from every moment and connect as never before.</p>
166 <p>For your very mobile lifestyle comes a completely new imaging system with freedom to create and express as never before. Highly compact and portable, the Nikon 1 J1 goes everywhere you go. Moments from your amazing world are captured using a highly responsive autofocus and super fast shooting speed. In one touch you can work in Full HD (1080p) movie record mode. A camera so versatile you can even snap photos while recording movies. Unleash your creativity with Nikon 1&mdash;offering a balance of high performance, advanced features, portability and a newly designed interchangeable lens system. Infuse your world with photos from every moment and connect as never before.</p>
183 <p>The Samsung T50200SB 50-200mm Telephoto OIS Lens is a long telephoto zoom lens compatible with our NX Series of digital cameras.</p>
184 <p>Samsung&rsquo;s compact 30mm pancake lens is the brightest in its class. With its 30mm fixed focal length and maximum aperture of F/2, you can capture exceptionally bright images &mdash; even in low-light situations such as shady forest paths and indoor weddings. You can also create striking, images with shallow depth of field in a variety of settings. And since it&rsquo;s incredibly slim and lightweight, you can take it with you everywhere.</p>
12698 Sports watch with heart-rate sensor
12710 Smart plug that works with voice assistants
12712 Comfort-fit wired headphones
21914
312048 1080p HD webcam for streaming
391033
391034
391035
391036
391040
460948 <p>Experience unparalleled sound quality and ultimate comfort with our <strong>Premium Wireless Noise-Cancelling Headphones</strong>. Perfect for travel, work, or pure relaxation.</p>
461037
461039
461275 <p>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.&nbsp;</p>