SQL [select product from phpshop_modules_productlastview_memory where memory='5e7d7bd6d6d8f3125696005d478123b1' limit 1]
The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay