SELECT 
  * 
FROM 
  cscart_logos 
WHERE 
  layout_id IN (1928, 0) 
  AND style_id IN ('New WebMarco Homepage', '') 
  AND storefront_id IN (1, 0) 
  AND company_id = 621

Query time 0.20880

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "109252.40"
    },
    "table": {
      "table_name": "cscart_logos",
      "access_type": "ALL",
      "rows_examined_per_scan": 536162,
      "rows_produced_per_join": 428,
      "filtered": "0.08",
      "cost_info": {
        "read_cost": "109166.61",
        "eval_cost": "85.79",
        "prefix_cost": "109252.40",
        "data_read_per_join": "110K"
      },
      "used_columns": [
        "logo_id",
        "layout_id",
        "style_id",
        "company_id",
        "type",
        "storefront_id"
      ],
      "attached_condition": "((`webmarco`.`cscart_logos`.`company_id` = 621) and (`webmarco`.`cscart_logos`.`layout_id` in (1928,0)) and (`webmarco`.`cscart_logos`.`style_id` in ('New WebMarco Homepage','')) and (`webmarco`.`cscart_logos`.`storefront_id` in (1,0)))"
    }
  }
}

Result

logo_id layout_id style_id company_id type storefront_id
329259 0 621 theme 0
329260 0 621 mail 0