SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7a12c13f8574f4458f4d3f36fc39ecd537a83f15258dd2151998ad88505e4cdd' 
  AND token = 'mwKicT1hICM2INxmZJ/Lzmwj6lakXRJ8eR/D7Lvgkmo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00053

JSON explain

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