SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '02221f7f286095a38d5bd2f2c05e45ea3f7404df2f04a3cd37c82a4f642a2947' 
  AND token = '4lH12ibmWNoWy/GRp9fD3VNDeH9d6wN9KSATTxIkn5k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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