SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '402f6197575b17a014b0ca68233f590d233f0399131c4e532b3a274024e4a8e5' 
  AND token = '/cyZl9/HbJU2es7vkkcyhqrk9AGGDOO1iO68Y1YewS4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00108

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE Impossible WHERE noticed after reading const tables