SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5dd9133db1b330b127f8b579ed933ce7519f9954ae0005bdb562956ab7756a70' 
  AND token = 'xwr6v40/YTjugARKVlax1ujXJG38EKyWuVehSzaVofc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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