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

Query time 0.00042

JSON explain

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