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 (
    40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 
    51
  ) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00037

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "28.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": 12,
      "rows_produced_per_join": 12,
      "filtered": "100.00",
      "index_condition": "((`danishecarter_latest`.`cscart_product_descriptions`.`product_id` in (40,41,42,43,44,45,46,47,48,49,50,51)) and (`danishecarter_latest`.`cscart_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "26.41",
        "eval_cost": "2.40",
        "prefix_cost": "28.81",
        "data_read_per_join": "54K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description",
        "unit_name"
      ]
    }
  }
}

Result

product_id short_description full_description unit_name
40 <p>The DEH-P8400BH CD receiver features a full-dot LCD display with Pioneer's new MIXTRAX technology, built-in Bluetooth&reg; for hands-free calling and audio streaming, and an HD Radio&trade; tuner. A variety of multimedia options ensures that you will be properly entertained. Customizable audio functions make it easy to suit your listening taste.</p>
41 <p>Welcome the new addition with this adidas Originals Gift Set, featuring a one-piece romper and matching socks. The romper has a sleepy-time Trefoil character on the back, while the front bristles with fun in vibrant stripes.</p> <div class="prodDetail"> <h3>Details</h3> <ul> <li>Crewneck</li> <li>Full snap-button front for easy on and off</li> <li>Allover yarn-dyed stripe pattern on front</li> <li>Solid-color back with Trefoil-inspired graphic</li> <li>Matching socks included</li> <li>95% cotton / 5% elastane single jersey</li> <li>Imported</li> </ul> </div>
42 <p>With music in so many different formats, it only makes sense to have a CD receiver that can play them all. Take your digital songs on the go by copying them directly onto a CD-R or CD-RW disc in either MP3 or WMA formats. Since these files are digitally encoded, you will be able to see detailed track information such as artist, song title, and album.</p>
43 <p>The FH-P8000BT is smartly designed to expand your system, customize your experience, provide superior sound quality and easy operation.</p>
44 <p> <p style="color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 14px; line-height: 17px;"><span style="color: #996633; font-family: Georgia, 'Times New Roman', Times, serif; font-size: x-small;"><strong>Purpose:</strong></span></p> <p style="color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 14px; line-height: 17px;"><span style="color: #996633; font-family: Georgia, 'Times New Roman', Times, serif; font-size: x-small;">To provide students taking the 11th-grade New York State course in U.S. history and government and the Regents examination, as well as others taking a similar course, with a concise and comprehensive text.&nbsp;<br /></span></p> <ul style="color: #333333; font-family: Verdana, Geneva, sans-serif; font-size: 14px; line-height: 17px;" type="square"> <span style="color: #996633; font-family: Georgia, 'Times New Roman', Times, serif; font-size: x-small;"><strong>Text features include:</strong> <li>introduction to U.S. geography with an emphasis on how geography has shaped the American experience</li> <li>summary of the founding, principles, and operations of the U.S. government . lucid historical narrative</li> <li>emphasis on the modern period</li> <li>primary source readings in every chapter</li> <li>emphasis on the experiences and contributions of women and minorities</li> <li>mid-chapter &ldquo;in Review&rdquo; features</li> <li>end-of-chapter exercises: multiple-choice, thematic-essay, and document-based questions</li> <li>more maps, charts, and tables</li> <li>expanded coverage of U.S. Supreme Court landmark cases</li> <li>&ldquo;The American People: Changes at the Millennium&rdquo; - a demographic feature in the last chapter</li> <li>appendix: annotated Declaration of Independence and U.S. Constitution.</li> <li>Teacher&rsquo;s Manual With Answers has guidelines for class presentation of each chapter, answer key, Student&rsquo;s Study Guide.</li> <li>Hardbound</li> </span> </ul> </p>
45 <p><strong style="color: #000000; font-family: Arial, Verdana, 'Sans Serif'; line-height: 15px; text-align: justify;">A student friendly, thoughtfully organized introduction to research in psychology&nbsp;</strong><br style="color: #000000; font-family: Arial, Verdana, 'Sans Serif'; line-height: 15px; text-align: justify;" /><br style="color: #000000; font-family: Arial, Verdana, 'Sans Serif'; line-height: 15px; text-align: justify;" /><span style="color: #000000; font-family: Arial, Verdana, 'Sans Serif'; line-height: 15px; text-align: justify;">Employing numerous examples and the pedagogical approach of spaced repetition, this introductory text provides a step-by-step explanation of how to design, conduct, and present a research study in psychology. Chronologically organized and chock-full of pedagogy, this book creates logical scaffolding upon which students can build their knowledge.</span><br style="color: #000000; font-family: Arial, Verdana, 'Sans Serif'; line-height: 15px; text-align: justify;" /></p>
46 <p>&nbsp;</p> <p class="dtm" style="margin-top: 10px !important; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; text-align: left; background-color: #ffffff;">When it comes to getting answers, go to the source!&nbsp;<em>The Official SAT Study Guide: Second Edition&trade;</em>&nbsp;features 10 SAT&reg; practice tests created by the test maker. With over 1,000 pages and more than 20 chapters, it's packed with the most up-to-date information students need to get ready for the test.</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; text-align: left; background-color: #ffffff;">Students will gain valuable experience and raise their confidence by taking practice tests, by reviewing critical concepts, test-taking approaches, and focused sets of practice questions just like those on the actual SAT.</p> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; text-align: left; background-color: #ffffff;"><em>The Official SAT Study Guide: Second Edition&trade;</em>&nbsp;will help students get ready for the SAT with:</p> <ul style="margin-top: 0px; margin-bottom: 10px; margin-left: 16px; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; text-align: left; background-color: #ffffff; padding: 0px;"> <li style="list-style-image: url(http://store.collegeboard.com/common/shared/images/bullet.gif); list-style-type: square; margin-bottom: 10px;">10 official SAT practice tests, including 3 new recent exams</li> <li style="list-style-image: url(http://store.collegeboard.com/common/shared/images/bullet.gif); list-style-type: square; margin-bottom: 10px;">detailed descriptions of math, critical reading, and writing sections of the SAT</li> <li style="list-style-image: url(http://store.collegeboard.com/common/shared/images/bullet.gif); list-style-type: square; margin-bottom: 10px;">targeted practice questions for each SAT question type</li> <li style="list-style-image: url(http://store.collegeboard.com/common/shared/images/bullet.gif); list-style-type: square; margin-bottom: 10px;">practice essay questions, along with sample essays and annotations</li> <li style="list-style-image: url(http://store.collegeboard.com/common/shared/images/bullet.gif); list-style-type: square; margin-bottom: 10px;">a review of math concepts tested in the exam</li> <li style="list-style-image: url(http://store.collegeboard.com/common/shared/images/bullet.gif); list-style-type: square; margin-bottom: 10px;">test-taking approaches and suggestions that underscore important points</li> <li style="list-style-image: url(http://store.collegeboard.com/common/shared/images/bullet.gif); list-style-type: square; margin-bottom: 10px;">free online score reports</li> <li style="list-style-image: url(http://store.collegeboard.com/common/shared/images/bullet.gif); list-style-type: square; margin-bottom: 10px;">exclusive access to online answers and explanations at collegeboard.org</li> <li style="list-style-image: url(http://store.collegeboard.com/common/shared/images/bullet.gif); list-style-type: square; margin-bottom: 10px;">$10 discount on&nbsp;<em>The Official SAT Online Course</em>&nbsp;to all book owners</li> </ul> <p><span style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; text-align: left; background-color: #ffffff;">There's also a complete chapter on the PSAT/NMSQT&reg;</span></p> <p>&nbsp;</p>
47 <p><span style="color: #242424; font-family: Arial, Verdana, Helvetica, sans-serif; text-align: left; background-color: #ffffff; font-size: xx-small; padding: 0px; margin: 0px;">The ultimate "VS." Series was born here!</span></p> <ul style="padding-top: 0px; padding-right: 20px; padding-bottom: 0px; padding-left: 20px; margin-top: 10px; margin-bottom: 20px; margin-left: 0px; list-style-position: initial; list-style-image: initial; color: #242424; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; text-align: left; background-color: #ffffff;"> <li style="padding-top: 2px; padding-bottom: 8px; padding-left: 20px; background-image: url(http://drh.img.digitalriver.com/DRHM/Storefront/Site/capcomus/cm/images/site/bg_bullet.jpg); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: transparent; background-position: 0% 5px; background-repeat: no-repeat no-repeat; margin: 0px;"><strong style="padding: 0px; margin: 0px;">Innovative graphics and gameplay bring the Marvel&reg; and Capcom universes to life:</strong>Powered by an advanced version of MT Framework, the engine used in Resident Evil&reg; 5 and Lost Planet&reg; 2, Marvel&reg; vs. Capcom&reg; 3 brings beautiful backgrounds and character animations to the forefront</li> <li style="padding-top: 2px; padding-bottom: 8px; padding-left: 20px; background-image: url(http://drh.img.digitalriver.com/DRHM/Storefront/Site/capcomus/cm/images/site/bg_bullet.jpg); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: transparent; background-position: 0% 5px; background-repeat: no-repeat no-repeat; margin: 0px;"><strong style="padding: 0px; margin: 0px;">Evolved VS. Fighting System:</strong>&nbsp;Wild over-the-top gameplay complete with signature aerial combos, hyper combos and more. The evolved new battle system, the &ldquo;Team Aerial Combo,&rdquo; takes the exciting mind-reading game to a whole new level!</li> <li style="padding-top: 2px; padding-bottom: 8px; padding-left: 20px; background-image: url(http://drh.img.digitalriver.com/DRHM/Storefront/Site/capcomus/cm/images/site/bg_bullet.jpg); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: transparent; background-position: 0% 5px; background-repeat: no-repeat no-repeat; margin: 0px;"><strong style="padding: 0px; margin: 0px;">3-on-3 Tag Team Fighting:</strong>&nbsp;Players build their own perfect team by assigning unique &ldquo;Assist Attacks&rdquo; for each character and utilize each character&rsquo;s special moves to create their own unique fighting style</li> <li style="padding-top: 2px; padding-bottom: 8px; padding-left: 20px; background-image: url(http://drh.img.digitalriver.com/DRHM/Storefront/Site/capcomus/cm/images/site/bg_bullet.jpg); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: transparent; background-position: 0% 5px; background-repeat: no-repeat no-repeat; margin: 0px;"><strong style="padding: 0px; margin: 0px;">Simple Mode:</strong>&nbsp;Streamlined button mapping option allows novice players to perform moves like a pro</li> <li style="padding-top: 2px; padding-bottom: 8px; padding-left: 20px; background-image: url(http://drh.img.digitalriver.com/DRHM/Storefront/Site/capcomus/cm/images/site/bg_bullet.jpg); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: transparent; background-position: 0% 5px; background-repeat: no-repeat no-repeat; margin: 0px;"><strong style="padding: 0px; margin: 0px;">Living Comic Book Art Style:</strong>&nbsp;See the most adored characters from the Capcom and Marvel&reg; universes brought to life in a &ldquo;moving comic&rdquo; style, blurring the boundaries between 2D and 3D graphics</li> <li style="padding-top: 2px; padding-bottom: 8px; padding-left: 20px; background-image: url(http://drh.img.digitalriver.com/DRHM/Storefront/Site/capcomus/cm/images/site/bg_bullet.jpg); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: transparent; background-position: 0% 5px; background-repeat: no-repeat no-repeat; margin: 0px;"><strong style="padding: 0px; margin: 0px;">New Characters:</strong>&nbsp;Popular returning characters include Spider-Man, Ryu, Wolverine, Morrigan, Iron Man, Hulk, Captain America, Felicia, Chun-Li, Tron Bonne, Magneto and Doctor Doom. Viewtiful Joe will make his debut in the Marvel vs. Capcom franchise.&nbsp;<strong style="padding: 0px; margin: 0px;">New characters joining the playable cast for the first time in fighting game history include Chris Redfield, Thor, Trish, Super-Skrull, Amaterasu, Dormammu, Wesker, X-23, Arthur, Deadpool, Nathan Spencer, M.O.D.O.K. and Dante!</strong></li> </ul> <p>&nbsp;</p>
48 <p>This is marine audio at its best. This 8" two-way speaker is built specifically for marine use, with heavy-duty construction that strenuously resists water, corrosion, heat&mdash;and boring music. Pioneer research showed that more bass is required for boating applications, and this 8" size delivers.</p>
49 <p>Whether you're out on the water or at the dock, this 6-1/2&rdquo; two-way speaker adds a new dimension to your boat. It's built specifically for marine use, with heavy-duty construction inside and out that strenuously resists water, corrosion, heat, and sunlight.</p>
50 <p>Absolute fidelity to musical sources takes form from speakers that reproduce the ambience in which sounds originate. Stage size, musicians&rsquo; movement, aural reflection and other distinctive details all bring these sounds to life. Pioneer D-Series speakers are available in 2-way component packages or 2-way coaxial designs in multiple sizes that fit most vehicles.</p>
51 <p>Absolute fidelity to musical sources takes form from speakers that reproduce the ambience in which sounds originate. Stage size, musicians&rsquo; movement, aural reflection and other distinctive details all bring these sounds to life. Pioneer D-Series speakers are available in 2-way component packages or 2-way coaxial designs in multiple sizes that fit most vehicles.</p>