SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3d5a2904ebca845618dd7b137d8bdd89bbea9172a6096fe5047a54544cb07e95' 
  AND token = 'YslhaxiuDAEKUhS3zf9aN+Zjb9MXNjNIJ5IP65YF2XE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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