SELECT 
  cscart_multi_decproduct_descriptions.product_id, 
  cscart_multi_decproduct_descriptions.short_description, 
  IF(
    cscart_multi_decproduct_descriptions.short_description = '' 
    OR cscart_multi_decproduct_descriptions.short_description IS NULL, 
    cscart_multi_decproduct_descriptions.full_description, 
    ''
  ) AS full_description, 
  cscart_multi_decproduct_descriptions.unit_name 
FROM 
  cscart_multi_decproduct_descriptions 
WHERE 
  cscart_multi_decproduct_descriptions.product_id IN (
    12, 16, 23, 1, 149, 78, 130, 126, 15, 278, 
    46, 45
  ) 
  AND cscart_multi_decproduct_descriptions.lang_code = 'en'

Query time 0.00042

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "28.81"
    },
    "table": {
      "table_name": "cscart_multi_decproduct_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": "((`vishalecarter_multi_dec`.`cscart_multi_decproduct_descriptions`.`product_id` in (12,16,23,1,149,78,130,126,15,278,46,45)) and (`vishalecarter_multi_dec`.`cscart_multi_decproduct_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
1 <p> For the ultimate TV enthusiasts, incredible picture quality and advanced connectivity are just the first step; the Samsung UN65D8000 LED TV goes a step beyond, adding elegant design to the formula. On the commanding 65-inch screen you can enjoy Samsung' Smart TV, which puts the web, a wide range of apps, Skype video calling, and plenty more at your fingertips. Or connect a Blu-ray 3D player to get immersed in cinema-quality 3D programming--two pairs of active glasses are included. </p>
12 <p> When coach calls you off the bench, you need warm-up pants that come off in three seconds or less. That’s why these men's adidas 100g basketball pants have tear-away snaps down the sides, so you're ready for action as fast as a superhero. </p> g
15 <p>The timeless Windrunner design gets a premium upgrade in the Nike Chambray Super Runner Men's Jacket. Created with tough, water-resistant fabric and a mesh lining, this jacket combines breathability and protection from the elements.</p>
16 <p>Whether you are viewing a premium-quality 2D picture or seeing incredible 3D depth, images are breathtakingly real in Samsung Full HD. Combine with a 3D TV and 3D active shutter glasses to view the latest Hollywood 3D titles or amplify your viewing experience by upconverting 2D content to immersive 3D.</p>
23 <p> Whether you are viewing a premium-quality 2D picture or seeing incredible 3D depth, images are breathtakingly real in Samsung Full HD. Combine with a 3D TV and 3D active shutter glasses to view the latest Hollywood 3D titles or amplify your viewing experience by upconverting 2D content to immersive 3D. </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>
78 <p>Get moving in the lightweight adizero&trade; Rush shoes by adidas. These featherweight, dynamic men's running shoes are just 7.5 ounces of high-mileage style, with adiPRENE&reg;+ support in the forefoot, a light synthetic upper and a thin rubber outsole for a close</p>
126 <p><br><img style="word-wrap: break-word; border-style: initial; border-color: initial;" src="http://www.casio.com/resource/images/pressreleases/fx-CG10_Prizm_press_2.jpg" alt="PRIZM fx-CG10" align="right"><strong style="word-wrap: break-word;">High-resolution color LCD with full textbook-style display</strong><br style="word-wrap: break-word;"><br style="word-wrap: break-word;">The color LCD offers full textbook-style display with the highest pixel resolution* (82,944 dots) and widest color reproduction* (65,536 colors) of any calculator. PRIZM&trade; comes with high-resolution fonts up to 18x24 dots (including blank dots), to enable equations and text to be displayed just like they appear in textbooks. The Blanview LCD delivers superior visibility and low power consumption, enabling color display with an estimated run time of 140 hours on four AAA-size alkaline batteries.**<strong style="word-wrap: break-word;"><br style="word-wrap: break-word;"></strong>*As of October 7, 2010, for the pixel resolution and color reproduction of calculators. According to a survey by Casio Computer Co., Ltd.<br style="word-wrap: break-word;">**Using repetition of the following one-hour sequence: Menu display for 5 minutes, Run-Matrix mode calculation for 5 minutes, flashing cursor in Run-Matrix mode for 50 minutes. Based on default settings for display brightness and auto power off. (Refer to the Specifications for exact settings)&nbsp;&nbsp;<strong style="word-wrap: break-word;"><img style="word-wrap: break-word; border-style: initial; border-color: initial;" src="http://www.casio.com/resource/images/pressreleases/fx-CG10_Prizm_press_3.jpg" alt="PRIZM fx-CG10" align="right"></strong><strong style="word-wrap: break-word;">Picture Plot enables learning from real-life pictures</strong><strong style="word-wrap: break-word;">&nbsp;</strong><br style="word-wrap: break-word;"><br style="word-wrap: break-word;">Picture Plot enables users to create their own graphs over pictures displayed on the color LCD. PRIZM&trade; comes with 55 types of color pictures that users can create graphs over, such as a picture of the parabola of jets from a water fountain and an image sequence of a clock’s pendulum movement. Users can perform regression calculations from the completed graphs to enhance their understanding of math functions.&nbsp;&nbsp;&nbsp;<strong style="word-wrap: break-word;">Multitude of functions that leverage the color LCD</strong><br style="word-wrap: break-word;"><br style="word-wrap: break-word;">Colors can be added to a multitude of graphing objects including dotted lines, circles, and bars, as well as grid lines on graphs, labels of coordinate axes, and coordinate values displayed during tracing. The Color Link function links the colors used in graphs to the designated values in the spreadsheet screen, to aid the visual comprehension of trends and changes in values. PRIZM&trade; automatically color-codes brackets when entering equations with multiple brackets, as a visual aid to facilitate the entry of complex equations.&nbsp;</p> <table style="word-wrap: break-word;" align="center"> <tbody style="word-wrap: break-word;"> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;"><strong style="word-wrap: break-word;"><img style="word-wrap: break-word; border-style: initial; border-color: initial;" src="http://www.casio.com/resource/images/pressreleases/fx-CG10_Prizm_press_3.jpg" alt="PRIZM fx-CG10" align="left"></strong></td> <td style="word-wrap: break-word;"><strong style="word-wrap: break-word;"><img style="word-wrap: break-word; border-style: initial; border-color: initial;" src="http://www.casio.com/resource/images/pressreleases/fx-CG10_Prizm_press_4.jpg" alt="PRIZM fx-CG10" align="left"></strong></td> <td style="word-wrap: break-word;"><strong style="word-wrap: break-word;"><img style="word-wrap: break-word; border-style: initial; border-color: initial;" src="http://www.casio.com/resource/images/pressreleases/fx-CG10_Prizm_press_5.jpg" alt="PRIZM fx-CG10" align="left"></strong></td> </tr> </tbody> </table>
130 <table class="defTBL" style="word-wrap: break-word; color: #555555; font-family: Helvetica, sans-serif; font-size: 12px; line-height: 18px; text-align: left; background-color: #ffffff;" width="79%"> <thead style="word-wrap: break-word;"> <tr style="word-wrap: break-word;"> <th style="word-wrap: break-word;" colspan="2"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><strong style="word-wrap: break-word;">DR-210TM Technical Specifications</strong></div> </th> </tr> </thead> <tbody style="word-wrap: break-word;"> <tr style="word-wrap: break-word;"> <th style="word-wrap: break-word;" colspan="2"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><strong style="word-wrap: break-word;">Display</strong></div> </th> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;" width="61%">Digits</td> <td style="word-wrap: break-word;" width="39%"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;">12</div> </td> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;" width="61%">Type</td> <td style="word-wrap: break-word;" width="39%"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;">Digitron</div> </td> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;" width="61%">Special</td> <td style="word-wrap: break-word;" width="39%"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;">Large Display</div> </td> </tr> <tr style="word-wrap: break-word;"> <th style="word-wrap: break-word;" colspan="2"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><strong style="word-wrap: break-word;">Printer</strong></div> </th> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;" width="61%">Speed - lines/second</td> <td style="word-wrap: break-word;" width="39%"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;">4.4</div> </td> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;" width="61%">Print Color</td> <td style="word-wrap: break-word;" width="39%"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;">2 Color-Black/Red</div> </td> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;" width="61%">Type</td> <td style="word-wrap: break-word;" width="39%"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;">Ribbon</div> </td> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;" width="61%">Ink Ribbon</td> <td style="word-wrap: break-word;" width="39%"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;">RB-02</div> </td> </tr> <tr style="word-wrap: break-word;"> <th style="word-wrap: break-word;" colspan="2"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><strong style="word-wrap: break-word;">Features</strong></div> </th> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;" width="61%">Decimal Selector</td> <td style="word-wrap: break-word;" width="39%"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;">Floating or fixed decimal 0,1,2,3,4,6</div> </td> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Item Counter</td> <td style="word-wrap: break-word;"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><img style="word-wrap: break-word; border-style: initial; border-color: initial;" src="http://www.casio.com/resource/images/catalog/calculator/black_bullet.gif" border="0" alt="" /></div> </td> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Independent Memory</td> <td style="word-wrap: break-word;"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><img style="word-wrap: break-word; border-style: initial; border-color: initial;" src="http://www.casio.com/resource/images/catalog/calculator/black_bullet.gif" border="0" alt="" /></div> </td> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Printing Reference Numbers</td> <td style="word-wrap: break-word;"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><img style="word-wrap: break-word; border-style: initial; border-color: initial;" src="http://www.casio.com/resource/images/catalog/calculator/black_bullet.gif" border="0" alt="" /></div> </td> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Tax Calculation</td> <td style="word-wrap: break-word;"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><img style="word-wrap: break-word; border-style: initial; border-color: initial;" src="http://www.casio.com/resource/images/catalog/calculator/black_bullet.gif" border="0" alt="" /></div> </td> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Automatic Constants</td> <td style="word-wrap: break-word;"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><img style="word-wrap: break-word; border-style: initial; border-color: initial;" src="http://www.casio.com/resource/images/catalog/calculator/black_bullet.gif" border="0" alt="" /></div> </td> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Independent Add Register</td> <td style="word-wrap: break-word;"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><img style="word-wrap: break-word; border-style: initial; border-color: initial;" src="http://www.casio.com/resource/images/catalog/calculator/black_bullet.gif" border="0" alt="" /></div> </td> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Grand Total</td> <td style="word-wrap: break-word;"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><img style="word-wrap: break-word; border-style: initial; border-color: initial;" src="http://www.casio.com/resource/images/catalog/calculator/black_bullet.gif" border="0" alt="" /></div> </td> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;">MU/MD</td> <td style="word-wrap: break-word;"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><img style="word-wrap: break-word; border-style: initial; border-color: initial;" src="http://www.casio.com/resource/images/catalog/calculator/black_bullet.gif" border="0" alt="" /></div> </td> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Feed</td> <td style="word-wrap: break-word;"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><img style="word-wrap: break-word; border-style: initial; border-color: initial;" src="http://www.casio.com/resource/images/catalog/calculator/black_bullet.gif" border="0" alt="" /></div> </td> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Right Shift Key</td> <td style="word-wrap: break-word;"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><img style="word-wrap: break-word; border-style: initial; border-color: initial;" src="http://www.casio.com/resource/images/catalog/calculator/black_bullet.gif" border="0" alt="" /></div> </td> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Round Off</td> <td style="word-wrap: break-word;"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><img style="word-wrap: break-word; border-style: initial; border-color: initial;" src="http://www.casio.com/resource/images/catalog/calculator/black_bullet.gif" border="0" alt="" /></div> </td> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;" width="61%">Round Up</td> <td style="word-wrap: break-word;" width="39%"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><img style="word-wrap: break-word; border-style: initial; border-color: initial;" src="http://www.casio.com/resource/images/catalog/calculator/black_bullet.gif" border="0" alt="" /></div> </td> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;" width="61%">Cut Off</td> <td style="word-wrap: break-word;" width="39%"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><img style="word-wrap: break-word; border-style: initial; border-color: initial;" src="http://www.casio.com/resource/images/catalog/calculator/black_bullet.gif" border="0" alt="" /></div> </td> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;" width="61%">ADD Mode</td> <td style="word-wrap: break-word;" width="39%"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><img style="word-wrap: break-word; border-style: initial; border-color: initial;" src="http://www.casio.com/resource/images/catalog/calculator/black_bullet.gif" border="0" alt="" /></div> </td> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;" width="61%">Cost/Sell/Margin</td> <td style="word-wrap: break-word;" width="39%"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><img style="word-wrap: break-word; border-style: initial; border-color: initial;" src="http://www.casio.com/resource/images/catalog/calculator/black_bullet.gif" border="0" alt="" /></div> </td> </tr> <tr style="word-wrap: break-word;"> <th style="word-wrap: break-word;" colspan="2"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><strong style="word-wrap: break-word;">Paper</strong></div> </th> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;" width="61%">2-1/4 inch plain</td> <td style="word-wrap: break-word;" width="39%"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><img style="word-wrap: break-word; border-style: initial; border-color: initial;" src="http://www.casio.com/resource/images/catalog/calculator/black_bullet.gif" border="0" alt="" /></div> </td> </tr> <tr style="word-wrap: break-word;"> <th style="word-wrap: break-word;" colspan="2"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><strong style="word-wrap: break-word;">Power</strong></div> </th> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;" width="61%">Type</td> <td style="word-wrap: break-word;" width="39%"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;">AC</div> </td> </tr> <tr style="word-wrap: break-word;"> <th style="word-wrap: break-word;" colspan="2"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;"><strong style="word-wrap: break-word;">Unit Dimensions</strong></div> </th> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;" width="61%">Size (inches)&nbsp; H x W x L</td> <td style="word-wrap: break-word;" width="39%"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;">4-3/10" x 8-2/5" x 15"</div> </td> </tr> <tr style="word-wrap: break-word;"> <td style="word-wrap: break-word;" width="61%">Weight oz/lbs</td> <td style="word-wrap: break-word;" width="39%"> <div style="word-wrap: break-word; padding: 0px; margin: 0px;">3.7 lbs</div> </td> </tr> </tbody> </table> <p> <p style="word-wrap: break-word; margin-top: 10px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-bottom: 0px; line-height: 1.25em; color: #555555; font-family: Helvetica, sans-serif; font-size: 12px; text-align: left; background-color: #ffffff;">Technical Specifications Subject to Change</p> </p>
149 <p>Long lasting battery offering up to 50 hours of music or up to 10 hours of video playback, FM tuner, Karaoke mode, Clear Audio technologies, EX headphones, integrated mic and 2.0" LCD.</p>
278