SELECT 
  * 
FROM 
  tmall_logos 
WHERE 
  layout_id IN (5, 0) 
  AND style_id IN ('Orange', '') 
  AND storefront_id IN (1, 0) 
  AND company_id = 1

Query time 0.00835

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.016448205,
    "nested_loop": [
      {
        "table": {
          "table_name": "tmall_logos",
          "access_type": "ALL",
          "loops": 1,
          "rows": 41,
          "cost": 0.016448205,
          "filtered": 100,
          "attached_condition": "tmall_logos.company_id = 1 and tmall_logos.layout_id in (5,0) and tmall_logos.style_id in ('Orange','') and tmall_logos.storefront_id in (1,0)"
        }
      }
    ]
  }
}

Result

logo_id layout_id style_id company_id type storefront_id
4 0 1 theme 0
5 0 1 mail 0