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

Query time 0.00528

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "233.33"
    },
    "table": {
      "table_name": "cscart_logos",
      "access_type": "ALL",
      "rows_examined_per_scan": 2286,
      "rows_produced_per_join": 1,
      "filtered": "0.08",
      "cost_info": {
        "read_cost": "233.15",
        "eval_cost": "0.18",
        "prefix_cost": "233.33",
        "data_read_per_join": "482"
      },
      "used_columns": [
        "logo_id",
        "layout_id",
        "style_id",
        "company_id",
        "type",
        "storefront_id"
      ],
      "attached_condition": "((`s2cart`.`cscart_logos`.`company_id` = 0) and (`s2cart`.`cscart_logos`.`layout_id` in (8,0)) and (`s2cart`.`cscart_logos`.`style_id` in ('unitheme_new','')) and (`s2cart`.`cscart_logos`.`storefront_id` in (1,0)))"
    }
  }
}

Result

logo_id layout_id style_id company_id type storefront_id
15 0 0 gift_cert 1
340 8 unitheme_new 0 theme 1
341 8 unitheme_new 0 favicon 1
342 8 unitheme_new 0 mail 1
457 8 unitheme_new 0 vendor 1