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 = 541

Query time 0.19680

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` = 541) 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
115471 0 541 theme 0
115472 0 541 mail 0