SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c8fb55169b9f9510b86eb6e08c61f155997754c0740d155e7b55a30734118bb0' 
  AND token = 'wPHzAGsjdS1joBuorpBJzVg8qA1RipYctNa6yNnQNdU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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