select p.products_id
from
products p
join products_description pd on p.products_id=pd.products_id and pd.language_id = '4'
join products_to_categories p2c on p.products_id=p2c.products_id
where
pd.extra_value_id3 <> 0
and p.products_status = 1
and p2c.categories_id = '595'
[TEP STOP]
2006 - MySQL server has gone away
select count(*) as total from sessions where sesskey = 'k2gml3ddgn32bhbdlmstgav1v3'