SELECT 
  * 
FROM 
  vi_logos 
WHERE 
  layout_id IN (2, 0) 
  AND style_id IN ('Default', '') 
  AND storefront_id IN (1, 0) 
  AND company_id = 1

Query time 0.00010

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "vi_logos",
          "access_type": "ALL",
          "rows": 26,
          "filtered": 100,
          "attached_condition": "vi_logos.company_id = 1 and vi_logos.layout_id in (2,0) and vi_logos.style_id in ('Default','') and vi_logos.storefront_id in (1,0)"
        }
      }
    ]
  }
}

Result

logo_id layout_id style_id company_id type storefront_id
5 2 Default 1 theme 1
6 2 Default 1 favicon 1
7 2 Default 1 mail 1
8 0 1 gift_cert 1