SELECT 
  * 
FROM 
  cscart_seo_names 
WHERE 
  name = 'drywall' 
  AND (
    cscart_seo_names.company_id = 1 
    OR cscart_seo_names.company_id = 0
  )

Query time 0.00046

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE cscart_seo_names ref name,type type 752 const 2 Using index condition; Using where

Result

name object_id company_id type dispatch lang_code path
drywall 423 1 c en 416
drywall 259 1 c en 386