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 (229) 
  AND cscart_product_descriptions.lang_code = 'ja'

Query time 0.00033

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_product_descriptions",
      "access_type": "const",
      "possible_keys": ["PRIMARY", "product_id"],
      "key": "PRIMARY",
      "key_length": "9",
      "used_key_parts": ["product_id", "lang_code"],
      "ref": ["const", "const"],
      "rows": 1,
      "filtered": 100
    }
  }
}

Result

product_id short_description full_description
229 <div style="color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff; padding-left: 10px; padding-right: 10px; padding-bottom: 10px;"> HPの27インチフルHD対応LED液晶モニターです。</div> <div class="fl" style="float: left; color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px;"> </p> </div> <div class="col59pctL" style="float: left; width: 303px; color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff; padding-left: 10px; padding-bottom: 10px;"> <h3 class="cb large mb5" style="font-size: 14px; margin-bottom: 5px; margin-top: 1px; clear: both;"> 先進のテクノロジー</h3> <ul style="margin-top: 0px; margin-bottom: 10px; margin-left: 20px; padding: 0px;"> <li> <strong>ウルトラスリム: </strong>LEDバックライト搭載で超薄型</li> <li> <strong>圧倒的な高画質:</strong> LEDバックライトとDCRの搭載により、ダイナミックコントラスト比3,000,000:1の圧倒的スペックで、輪郭のはっきりした鮮明な映像を描画します。</li> <li> <strong>高速オン・オフ</strong><strong>:</strong> CCFL搭載モニターと比較して高速な電源オン・オフ</li> </ul> </div> <div class="fl" style="float: left; color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff; padding-left: 10px; padding-bottom: 10px; width: 329px;"> <h3 class="cb large mb5" style="font-size: 14px; margin-bottom: 5px; margin-top: 1px; clear: both;"> 高解像度 &amp; 高画質</h3> <ul style="margin-top: 0px; margin-bottom: 10px; margin-left: 20px; padding: 0px;"> <li> 27インチフルHDのワイド液晶で2つのアプリケーションを左右に並べて表示できます。</li> <li> 反射を抑えながらも艶やかな映像をお届けする「Bright View パネル」を搭載。リアルなエンターテインメントが楽しめます。</li> <li> 応答速度は5ms。スポーツなど動きの激しい動画もブレを抑えて表示します。</li> </ul> </div> <div class="fr" style="float: right; color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff; padding-bottom: 10px;"> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px;"> </p> </div> <div class="fl" style="float: left; color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px;"> </p> </div> <div class="col59pctL" style="float: left; width: 303px; color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff; padding-left: 10px; padding-bottom: 10px;"> <h3 class="cb large mb5" style="font-size: 14px; margin-bottom: 5px; margin-top: 1px; clear: both;"> スリムなのに機能充実</h3> <ul style="margin-top: 0px; margin-bottom: 10px; margin-left: 20px; padding: 0px;"> <li> 厚さはわずか約2.5cmと設置場所を選ばず、インテリアによく映え、部屋にアクセントを加えます。</li> <li> ベストポジションを作りやすいチルト機構を搭載。-5&deg;~ +25&deg;まで自在に調整がおこなえます。</li> <li> HP Pavilion Desktop PCとベストマッチ。VGA/HDMI/DVI-Dなど入力インターフェースも充実。</li> </ul> </div> <div class="fl" style="float: left; color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff; padding-left: 10px; padding-bottom: 10px; width: 329px;"> <h3 class="cb large mb5" style="font-size: 14px; margin-bottom: 5px; margin-top: 1px; clear: both;"> <strong>エコロジー</strong></h3> <ul style="margin-top: 0px; margin-bottom: 10px; margin-left: 20px; padding: 0px;"> <li> PCリサイクル、ENERGY STAR&reg; 5.0 Qualified、EPEAT&reg; SILVER Registeredの環境基準値に準拠。地球資源を大切にし、環境へ配慮した製品の証です。</li> <li> ヒ素化合物を含まない液晶パネルや、水銀などの有害物質をまったく含まないLEDバックライト、リサイクル可能なプラスチック素材などを使うことにより、効率的なリサイクルを可能にしています。</li> </ul> </div> <div class="fr" style="float: right; color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff; padding-bottom: 10px;"> <p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px;"> </p> </div> <div style="color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff; padding-left: 10px; padding-right: 10px;"> <h3 class="cb large mb5" style="font-size: 14px; margin-bottom: 5px; margin-top: 1px; clear: both;"> サポート &amp; 保証も充実</h3> <ul style="margin-top: 0px; margin-bottom: 10px; margin-left: 20px; padding: 0px;"> <li> 1年間の製品保証に加え、リアルタイムチャットやEメールでしっかりサポート。</li> <li> サポートフォーラムで過去のお問い合わせに対する回答を検索できます。</li> </ul> </div> <div class="p10" style="color: #000000; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff; padding: 10px;"> <h2 class="theme_ruled" style="font-size: small; margin-bottom: 0px; margin-top: 1px; border-bottom-width: 4px; border-bottom-style: solid; padding-bottom: 1px; border-color: #000000;"> <strong>製品の内容</strong></h2> <p class="fl mt10 mr10" style="margin-top: 10px; margin-right: 10px; margin-bottom: 10px; margin-left: 0px; float: left;"> <strong></strong></p> </div> <p> <strong>&nbsp;</strong></p> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody> <tr> <td valign="top" width="10"> <strong>&bull;</strong></td> <td> <strong>モニター本体Monitor</strong></td> </tr> <tr> <td valign="top" width="10"> <strong>&bull;</strong></td> <td> <strong>電源ユニット</strong></td> </tr> <tr> <td valign="top" width="10"> <strong>&bull;</strong></td> <td> <strong>電源ケーブル</strong></td> </tr> <tr> <td valign="top" width="10"> <strong>&bull;</strong></td> <td> <strong>VGAケーブル</strong></td> </tr> <tr> <td valign="top" width="10"> <strong>&bull;</strong></td> <td> <strong>DVI-Dケーブル</strong></td> </tr> <tr> <td valign="top" width="10"> <strong>&bull;</strong></td> <td> <strong>ケーブル用マグネットクリップ</strong></td> </tr> <tr> <td valign="top" width="10"> <strong>&bull;</strong></td> <td> <strong>マニュアルCD</strong></td> </tr> <tr> <td valign="top" width="10"> <strong>&bull;</strong></td> <td> <strong>保証書</strong></td> </tr> </tbody> </table>