SELECT 
  c.* 
FROM 
  cscart_bm_containers as c 
WHERE 
  1 
  AND c.location_id = 31 
  AND c.company_id = 0

Query time 0.00012

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE c ref location_id,location_id_company_id,location_id_position_company_id location_id_company_id 7 const,const 4

Result

container_id location_id position width user_class linked_to_default status company_id
121 31 TOP_PANEL 16 Y A 0
122 31 HEADER 16 N A 0
123 31 CONTENT 16 content-grid Y A 0
124 31 FOOTER 16 Y A 0