SELECT 
  * 
FROM 
  logos 
WHERE 
  layout_id IN (3, 0) 
  AND style_id IN ('Default', '') 
  AND storefront_id IN (1, 0) 
  AND company_id = 334

Query time 0.00059

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "8.71"
    },
    "table": {
      "table_name": "logos",
      "access_type": "range",
      "possible_keys": [
        "layout_idx"
      ],
      "key": "layout_idx",
      "used_key_parts": [
        "layout_id",
        "style_id",
        "storefront_id",
        "company_id"
      ],
      "key_length": "164",
      "rows_examined_per_scan": 9,
      "rows_produced_per_join": 9,
      "filtered": "100.00",
      "index_condition": "((`goimagine`.`logos`.`company_id` = 334) and (`goimagine`.`logos`.`layout_id` in (3,0)) and (`goimagine`.`logos`.`style_id` in ('Default','')) and (`goimagine`.`logos`.`storefront_id` in (1,0)))",
      "cost_info": {
        "read_cost": "7.81",
        "eval_cost": "0.90",
        "prefix_cost": "8.71",
        "data_read_per_join": "2K"
      },
      "used_columns": [
        "logo_id",
        "layout_id",
        "style_id",
        "company_id",
        "type",
        "storefront_id"
      ]
    }
  }
}

Result

logo_id layout_id style_id company_id type storefront_id
726 0 334 theme 0
727 0 334 mail 0