SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'acec79cb309cb161e71f30acf11db27d9e325d7319caaf860cdc652517a60df7' 
  AND token = 'hwX3IVDe0x/HojW3sJNI6Lh8tFPWkNukOUtyCTzInuw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}