SELECT 
  * 
FROM 
  cscart_logos 
WHERE 
  layout_id IN (3, 0) 
  AND style_id IN ('Bright_theme', '') 
  AND storefront_id IN (1, 0) 
  AND company_id = 1

Query time 0.00049

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_logos",
      "access_type": "ALL",
      "rows": 29,
      "filtered": 100,
      "attached_condition": "cscart_logos.company_id = 1 and cscart_logos.layout_id in (3,0) and cscart_logos.style_id in ('Bright_theme','') and cscart_logos.storefront_id in (1,0)"
    }
  }
}

Result

logo_id layout_id style_id company_id type storefront_id
8 3 Bright_theme 1 theme 1
9 3 Bright_theme 1 favicon 1
10 3 Bright_theme 1 mail 1
11 0 1 gift_cert 1