SELECT 
  style_id 
FROM 
  cscart_vendor_styles 
WHERE 
  company_id = 137 
  AND layout_id = 78

Query time 0.00057

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}