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 (130, 128, 2917, 2926) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00023

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.00774628,
    "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": 4,
          "cost": 0.00774628,
          "filtered": 100,
          "attached_condition": "cscart_product_descriptions.product_id in (130,128,2917,2926) and cscart_product_descriptions.lang_code = 'en'"
        }
      }
    ]
  }
}

Result

product_id short_description full_description unit_name
128 <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;" border="0" width="95%"> <tbody style="word-wrap: break-word;"> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;"><strong style="word-wrap: break-word;">Number of Functions</strong></td> <td style="word-wrap: break-word;">279</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;"><strong style="word-wrap: break-word;">Display</strong></td> <td style="word-wrap: break-word;">&nbsp;</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">2-Line Digit</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Natural Textbook</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Digits</td> <td style="word-wrap: break-word;">10 + 2</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;"><strong style="word-wrap: break-word;">Memory</strong></td> <td style="word-wrap: break-word;">&nbsp;</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Store/Recall</td> <td style="word-wrap: break-word;">Yes/Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Recall & Edit values</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Number of independent memories</td> <td style="word-wrap: break-word;">1</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Number of constant memories</td> <td style="word-wrap: break-word;">6</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;"><strong style="word-wrap: break-word;">Features</strong></td> <td style="word-wrap: break-word;">&nbsp;</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Operating system</td> <td style="word-wrap: break-word;">S - V.P.A.M</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Protective hard case</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Clear last entry and clear all</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Review & edit preview entries</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Overhead Model Available</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Fixed decemial capabilities</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Multi-replay</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Plastic Keys</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;"><strong style="word-wrap: break-word;">Mathematics</strong></td> <td style="word-wrap: break-word;">&nbsp;</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Metric conversions</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Scientific notation</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Parenthesis/Constant</td> <td style="word-wrap: break-word;">Yes/-</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Pi</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Xth root</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Fraction calculations</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Complex numbers</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">DMS &lt;&gt; DD / P &lt;&gt; R Conversions</td> <td style="word-wrap: break-word;">Yes/Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;"><strong style="word-wrap: break-word;">Trigonometry</strong></td> <td style="word-wrap: break-word;">&nbsp;</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Sin, Cos, Tan, & Inverses</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Hyperbolic Functions</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Converts between DEG, RAD, GRAD</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;"><strong style="word-wrap: break-word;">Statistics</strong></td> <td style="word-wrap: break-word;">&nbsp;</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">One/two variable</td> <td style="word-wrap: break-word;">Yes/Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Mean, sum, # elements</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Standard Deviation</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Linear Regression</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Log, In, Inverse Log, Exponential</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Store and edit data in memory</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Quadratic, log, exp, power, inverse regression</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">nPr, cPr, x!</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Random number generator</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;"><strong style="word-wrap: break-word;">Calculus</strong></td> <td style="word-wrap: break-word;">&nbsp;</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Complex number calculations</td> <td style="word-wrap: break-word;">No</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Numeric integration</td> <td style="word-wrap: break-word;">No</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Numeric differential calculations</td> <td style="word-wrap: break-word;">No</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;"><strong style="word-wrap: break-word;">Power/Unit Dimensions</strong></td> <td style="word-wrap: break-word;">&nbsp;</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Power</td> <td style="word-wrap: break-word;">Solar Plus w/Battery back-up</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Auto Power Off</td> <td style="word-wrap: break-word;">Yes</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Battery</td> <td style="word-wrap: break-word;">-</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Size (H x W x L) Inches</td> <td style="word-wrap: break-word;">Not available</td> </tr> <tr class="contentTextGray" style="word-wrap: break-word;"> <td style="word-wrap: break-word;">Weight (ounces)</td> <td style="word-wrap: break-word;">Not available</td> </tr> </tbody> </table> <p>&nbsp;</p> <p class="contentTextGray" 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 class="contentTextGray" 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;">The FX-115ES is permitted on AP, SAT and PSAT/NMSQT. Policies are subject to change. Visit<a style="word-wrap: break-word; color: #00349a; text-decoration: underline;" href="http://www.collegeboard.com/" target="_blank">www.collegeboard.com</a>for more information.</p> <p>&nbsp;</p>
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"></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"></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"></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"></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"></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"></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"></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"></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"></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"></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"></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"></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"></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"></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"></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"></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> <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></p>
2917 <p>The iPhone 17 is the latest model in Apple's iconic smartphone lineup, featuring cutting-edge technology and sleek design.</p>
2926