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 
FROM 
  cscart_product_descriptions 
WHERE 
  cscart_product_descriptions.product_id IN (
    12, 162, 159, 158, 240, 238, 239, 245, 
    242, 243, 214, 217
  ) 
  AND cscart_product_descriptions.lang_code = 'ja'

Query time 0.00006

JSON explain

{
  "query_block": {
    "select_id": 1,
    "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"],
      "rows": 12,
      "filtered": 100,
      "index_condition": "cscart_product_descriptions.product_id in (12,162,159,158,240,238,239,245,242,243,214,217) and cscart_product_descriptions.lang_code = 'ja'"
    }
  }
}

Result

product_id short_description full_description
12 <p> アディダス100gパンツは、超軽量なだけでなく着脱のしやすさまで考え抜いて設計されています。<br> 各種スポーツのウォームアップ用パンツに最適です。</p>
158 <p> 耐火・防犯性能にすぐれたAIKOの家庭用金庫です。</p> <p> 堅牢設計: 高品質なバブルコンクリートをスチールプレートでカバー。ご家庭の大切な書類等を火災による高熱や盗難からしっかり守ります。</p> <p> 自動ストッパー: 自動ストッパー機能による軽く押したでけでドアを閉じることができます。</p> <p> スチールボルトにより水平方向から施錠。防犯性能の高いシリンダーキーを採用しています。</p> <p> 自動再ロック: オプションにより自動再ロックシステムと連動します。</p> <p> 世界各国の規格に対応: 1. JIS - 日本 2. KS - 韓国 3. SINTEF - ノルウェー 4. CNAL - 中国</p> <br /> <br /> <table align="center" border="0" cellpadding="2" cellspacing="2" class="arial_12pt" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; text-decoration: none;" width="100%"> <tbody> <tr> <td colspan="8"> <h4> 製品概要と寸法</h4> </td> </tr> <tr> <td colspan="8"> <table border="1" cellpadding="2" cellspacing="2" class="arial_12pt" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; text-decoration: none;" width="100%"> <tbody> <tr bgcolor="#660000"> <td class="arial_11pt_white" height="35" style="font-family: Arial, Helvetica, sans-serif; font-size: 11px; color: #ffffff; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 6px; text-decoration: none;" width="45%"> <strong>製品型番</strong></td> <td class="arial_11pt_white" style="font-family: Arial, Helvetica, sans-serif; font-size: 11px; color: #ffffff; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 6px; text-decoration: none;" width="55%"> <strong>AS30</strong></td> </tr> <tr> <td width="45%"> 外寸</td> <td width="55%"> 320 H x 400 W x 330 D mm</td> </tr> <tr> <td> 内寸</td> <td> 220 H x 320 W x 210 D mm</td> </tr> <tr> <td> 重量</td> <td> 30Kg</td> </tr> <tr> <td> 容量</td> <td> 14リットル</td> </tr> </tbody> </table> </td> </tr> </tbody> </table> <p> &nbsp;</p>
159 <p> 耐火・防犯性能にすぐれたAIKOの家庭用金庫です。</p> <p> 堅牢設計: 高品質なバブルコンクリートをスチールプレートでカバー。ご家庭の大切な書類等を火災による高熱や盗難からしっかり守ります。</p> <p> 自動ストッパー: 自動ストッパー機能による軽く押したでけでドアを閉じることができます。</p> <p> 多重ロックシステム: 4枚のスチールボルトにより垂直・水平方向から施錠。さらにシリンダーキーとダイヤルキーにより厳重にロックします。</p> <p> 自動再ロック: オプションにより自動再ロックシステムと連動します。</p> <p> 世界各国の規格に対応: 1. JIS - 日本 2. KS - 韓国 3. SINTEF - ノルウェー</p>
162 <table border="0" cellpadding="0" cellspacing="0" style="color: #000000; font-family: 'Times New Roman'; background-color: #ffffff;" width="100%"> <tbody> <tr> <td class="arial_12pt" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; text-decoration: none;"> <pre style="white-space: pre-wrap; word-wrap: break-word; width: 600px; font-family: Geneva,Arial,Helvetica,sans-serif; font-size: 12px; font-weight: bold; text-align: justify; text-decoration: none;"> 耐火・防犯性能にすぐれたAIKOのオフィス用金庫です。 堅牢設計: 高品質なバブルコンクリートをスチールプレートでカバー。オフィス内の大切な書類等を火災による高熱や盗難からしっかり守ります。 自動ストッパー: 自動ストッパー機能による軽く押したでけでドアを閉じることができます。 多重ロックシステム: 4枚のスチールボルトにより垂直・水平方向から施錠。さらにシリンダーキーとダイヤルキーにより厳重にロックします。 自動再ロック: オプションにより自動再ロックシステムと連動します。 世界各国の基準に対応: 1. JIS - 日本 2. KS - 韓国 3. SINTEF - ノルウェー 4. CNAL - 中国 内蔵アラーム: オプションで盗難防止アラームを内蔵可能</pre> </td> </tr> </tbody> </table> <br /> <br /> <table align="center" border="0" cellpadding="2" cellspacing="2" class="arial_12pt" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; text-decoration: none;" width="100%"> <tbody> <tr> <td colspan="8"> <h4> 製品概要と寸法</h4> </td> </tr> <tr> <td colspan="8"> <table border="1" cellpadding="2" cellspacing="2" class="arial_12pt" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; text-decoration: none;" width="100%"> <tbody> <tr bgcolor="#660000"> <td class="arial_11pt_white" height="35" style="font-family: Arial, Helvetica, sans-serif; font-size: 11px; color: #ffffff; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 6px; text-decoration: none;" width="45%"> <strong>製品型番</strong></td> <td class="arial_11pt_white" style="font-family: Arial, Helvetica, sans-serif; font-size: 11px; color: #ffffff; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 6px; text-decoration: none;" width="55%"> <strong>AS-180</strong></td> </tr> <tr> <td width="45%"> 外寸</td> <td width="55%"> H900 X W600 X D570 mm</td> </tr> <tr> <td> 内寸</td> <td> H693 X W462 X D360 mm</td> </tr> <tr> <td> 重量</td> <td> 180 Kg</td> </tr> <tr> <td> 内部構成</td> <td> シェルフ x 1, 引き出し x1</td> </tr> <tr> <td> 容量</td> <td> 116リットル</td> </tr> </tbody> </table> </td> </tr> </tbody> </table> <p> &nbsp;</p>
214 <p>CP6130は光沢仕上げのケースが目をひくデスクトップPC。<span class="st">月暈をイメージした</span><span class="st">スタイリッシュな</span><span class="st">電源ボタンも印象的です。</span></p>
217 <p>ASUS CP6230 はどんなお部屋にもマッチするシンプルなデザインが特徴のデスクトップPCです。<br />コンパクトな筐体ながらマシンパワーは充分。あなたの日々の業務を強力にサポートします。</p>
238 <p>こちらの商品はご注文後、FedExで最短2-3営業日でお手元に到着いたします。なお、注文数やお支払い方法等の諸条件により、お届け日が変動する場合がございます。</p>
239 <p>こちらの商品はご注文後、FedExで最短2-3営業日でお手元に到着いたします。なお、注文数やお支払い方法等の諸条件により、お届け日が変動する場合がございます。</p>
240 <p>より薄く、より軽く、全てが新しくデザインされたiPad2はより快適になりました。<br /> よりパワフルなデュアルコアA5チップを搭載しているにも関わらず、10時間のバッテリーライフを実現。<br /> 2つのカメラはFaceTimeのビデオ通話、HDビデオの録画に対応。<br /> iPad Smart Coverを使えば、マグネットテクノロジーにより開くとiPadがスリープから復帰。<br /> 折りたたむとスタンドに。あなたのiPad2を引き立てます。</p> <strong>製品特徴</strong> <ul> <li>9.7インチ LEDバックライトディスプレイ(IPSテクノロジー)</li> <li>デュアルコア A5 プロセッサー</li> <li>フロントカメラ、バックカメラ</li> <li>最長10時間のバッテリー駆動</li> <li>Wi-Fi (802.11 a/b/g/n)</li> <li>3Gデータ通信</li> <li>Bluetooth 2.1 + EDR</li> <li>16GBフラッシュメモリ</li> <li>App Storeでは65,000以上のiPad専用ソフト</li> </ul>
242 <p>スマートなデザインで持ち運びやすいiPod Nano。内蔵ストレージも16GBと日常使いには充分な容量です。</p>
243 <p>iPod shuffleは美しく、身につけやすい音楽プレーヤーです。クリックできる大きなコントロールパッド搭載で操作もらくらく。/p>
245 <p>こちらの商品はご注文後、FedExで最短2-3営業日でお手元に到着いたします。なお、注文数やお支払い方法等の諸条件により、お届け日が変動する場合がございます。</p>