A: 

MySQL's default locking will ensure that no "half-written" rows are fetched. As far as "caching locally", it seems like all that means in your scenario is reading them out of the database into a local PHP data structure like an array.

Amber
A: 

you can see about MySQL locking here: Locking in MySQL. Remeber unlock table after finishing write data.

coolkid